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

Commit 8c22094

Browse files
author
Felix Schütt
committed
Continue even if publishing to crates.io fails
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
1 parent 6b27662 commit 8c22094

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ jobs:
171171
cargo publish --allow-dirty --manifest-path="wapm-toml/Cargo.toml" --token ${{ secrets.CRATES_IO_TOKEN }}
172172
- name: Release to crates.io
173173
if: (needs.setup.outputs.DOING_RELEASE == '1' || github.event.inputs.release != '') && matrix.os == 'ubuntu-latest'
174+
continue-on-error: true
174175
run: |
175176
cargo publish --allow-dirty --token ${{ secrets.CRATES_IO_TOKEN }}
176177

0 commit comments

Comments
 (0)