Skip to content

Commit 71455b5

Browse files
authored
fix release (#104)
1 parent d1750e2 commit 71455b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ jobs:
206206
run: exit 1
207207

208208
release:
209-
if: startsWith(github.ref, 'refs/tags/')
209+
# Some dependencies of the `ci-passed` job might be skipped, but we still want to run if the `ci-passed` job succeeded.
210+
if: always() && startsWith(github.ref, 'refs/tags/') && needs.ci-passed.result == 'success'
210211
name: Publish to crates.io
211212
needs: [ ci-passed ]
212213
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)