Skip to content

Commit

Permalink
ci: use matrix.os for crates.io check
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Oct 28, 2023
1 parent d6dc96a commit a924c9b
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 @@ -57,7 +57,7 @@ jobs:
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish -p ${{ inputs.member }} ${{ env.ACT && '--dry-run' }}
if: ${{ runner.os == 'ubuntu-latest' }}
if: ${{ matrix.os == 'ubuntu-latest' && !env.ACT }}

- name: Upload to release
env:
Expand Down

0 comments on commit a924c9b

Please sign in to comment.