We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fda797b commit 4d875ffCopy full SHA for 4d875ff
1 file changed
.github/workflows/ci.yaml
@@ -247,13 +247,13 @@ jobs:
247
JOB_NAME: units-8-runtime-${{matrix.java}}
248
working-directory: ${{matrix.package}}
249
required:
250
- needs: [ changes, split-units, split-units-8 ]
+ needs: [ changes, split-units ]
251
name: conditional-required-check
252
if: ${{ always() }} # Always run even if any "needs" jobs fail
253
runs-on: ubuntu-22.04
254
steps:
255
- name: Fail if any previous failure
256
- if: ${{ contains(needs.*.result, 'failure') }}
+ if: ${{ needs.changes.outputs.packages != '[]' && contains(needs.*.result, 'failure') }}
257
run: exit 1
258
- name: Success otherwise
259
run: echo "Success!"
0 commit comments