From e5d0219df8da6d83b97f5b61eee679c1cfd603e3 Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Thu, 19 Mar 2026 15:55:25 -0400 Subject: [PATCH] Fix workflow to publish executable and add the missing License --- .forgejo/workflows/publish.yml | 32 ++++++++++++-------------------- LICENSE | 21 +++++++++++++++++++++ 2 files changed, 33 insertions(+), 20 deletions(-) create mode 100644 LICENSE diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index 41dcaf5..28230e8 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Publish Cargo Package +name: Publish Release on: push: @@ -11,8 +11,6 @@ jobs: runs-on: ubuntu-22.04 env: CARGO_TERM_COLOR: always - CARGO_REGISTRIES_FORGEJO_TOKEN: Bearer ${{ secrets.FORGEJO_CARGO_TOKEN }} - FORGEJO_CARGO_INDEX: ${{ github.server_url }}/${{ github.repository_owner }}/_cargo-index.git steps: - name: Check out repository uses: https://data.forgejo.org/actions/checkout@v4 @@ -29,17 +27,6 @@ jobs: rustup default stable cargo --version - - name: Configure Cargo registry - run: | - mkdir -p "$HOME/.cargo" - cat > "$HOME/.cargo/config.toml" <