We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c69c2cd commit 7bb365fCopy full SHA for 7bb365f
.github/workflows/run-system-tests.yaml
@@ -84,4 +84,15 @@ jobs:
84
if: ${{ always() }}
85
needs: [build, main]
86
steps:
87
- - run: exit 0
+ - name: Fail if build failed
88
+ if: ${{ needs.build.result != 'success' }}
89
+ run: |
90
+ echo "❌ Build job did not succeed: ${{ needs.build.result }}"
91
+ exit 1
92
+ - name: Fail if main failed or is skipped
93
+ if: ${{ needs.main.result != 'success' }}
94
95
+ echo "❌ Main job did not succeed: ${{ needs.main.result }}"
96
97
+ - name: Success
98
+ run: echo "✅ All required jobs succeeded."
0 commit comments