Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Commit

Permalink
Continue even if publishing to crates.io fails
Browse files Browse the repository at this point in the history
Publishing to crates.io can fail for various reasons
and we can publish manually afterwards, but it is annoying
when the entire GitHub CI fails because of a crates.io issue
  • Loading branch information
fschutt committed Nov 11, 2022
1 parent 6b27662 commit 8c22094
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ jobs:
cargo publish --allow-dirty --manifest-path="wapm-toml/Cargo.toml" --token ${{ secrets.CRATES_IO_TOKEN }}
- name: Release to crates.io
if: (needs.setup.outputs.DOING_RELEASE == '1' || github.event.inputs.release != '') && matrix.os == 'ubuntu-latest'
continue-on-error: true
run: |
cargo publish --allow-dirty --token ${{ secrets.CRATES_IO_TOKEN }}
Expand Down

0 comments on commit 8c22094

Please sign in to comment.