We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f30601a commit 37c4a52Copy full SHA for 37c4a52
1 file changed
.github/workflows/showcase.yaml
@@ -216,3 +216,15 @@ jobs:
216
run: |
217
mvn versions:set -B -ntp -DnewVersion=local
218
mvn clirr:check -B -ntp -DcomparisonVersion=$SHOWCASE_CLIENT_VERSION
219
+
220
+ required:
221
+ needs: [ showcase, showcase-java8 ]
222
+ name: conditional-required-check
223
+ if: ${{ always() }} # Always run even if any "needs" jobs fail
224
+ runs-on: ubuntu-22.04
225
+ steps:
226
+ - name: Fail if any previous failure
227
+ if: ${{ contains(needs.*.result, 'failure') }}
228
+ run: exit 1
229
+ - name: Success otherwise
230
+ run: echo "Success!"
0 commit comments