From 115166c438b0ea35ab58eb8b19a95af71ea7887f Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 6 Oct 2024 15:16:42 -0500 Subject: [PATCH] Fix cargo publish build --- .github/workflows/build.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5765c84..5cd69dd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -181,10 +181,9 @@ jobs: ${{ env.ARCHIVE_DIR }}/${{ env.ARCHIVE }}.sig generate_release_notes: true - - name: cargo login - if: startsWith(github.ref, 'refs/tags/') + - if: startsWith(github.ref, 'refs/tags/') run: cargo login ${{ secrets.CRATES_IO_API_TOKEN }} - - name: "cargo release publish" + - name: "Publish" if: startsWith(github.ref, 'refs/tags/') - run: cargo release publish --workspace --all-features --allow-branch HEAD --no-confirm --no-verify --execute \ No newline at end of file + run: cargo publish --locked \ No newline at end of file