Skip to content

Commit

Permalink
ci: only publish to crates.io once
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Oct 27, 2023
1 parent 6b614a8 commit 7c1d6af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/upload-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload "${{ inputs.tag }}" ${{ steps.build.outputs.binary }}
if: ${{ !env.ACT }}
if: ${{ !env.ACT || runner.os == 'ubuntu-latest' }}

- name: Upload to artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 7c1d6af

Please sign in to comment.