We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 338a314 commit 7e19bd8Copy full SHA for 7e19bd8
1 file changed
.github/workflows/ci.yaml
@@ -77,7 +77,7 @@ jobs:
77
bundle:
78
runs-on: ubuntu-latest
79
needs: lint
80
- if: needs.lint.result != 'failure'
+ if: ${{ !failure() && !cancelled() }}
81
strategy:
82
matrix:
83
format: [yaml, json]
@@ -112,7 +112,7 @@ jobs:
112
release:
113
114
needs: bundle
115
- if: github.ref == 'refs/heads/main' && needs.bundle.result != 'failure' && !contains(github.event.head_commit.message, 'no_release') && !github.event.inputs.no_release
+ if: ${{ !failure() && !cancelled() && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'no_release') && !github.event.inputs.no_release }}
116
outputs:
117
version: ${{ steps.metadata.outputs.version }}
118
0 commit comments