File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
- name : Haskell Windows & Mac CI
1
+ name : Haskell CI
2
2
3
3
on :
4
4
pull_request : # Required for workflows to be able to be approved from forks
31
31
32
32
env :
33
33
# Modify this value to "invalidate" the cabal cache.
34
- CABAL_CACHE_VERSION : " 2023-09-05 "
34
+ CABAL_CACHE_VERSION : " 2023-09-11 "
35
35
36
36
# Modify this value to "invalidate" the secp cache.
37
37
SECP_CACHE_VERSION : " 2022-12-30"
@@ -219,10 +219,18 @@ jobs:
219
219
220
220
build-complete :
221
221
needs : [build]
222
+ if : ${{ always() }}
222
223
runs-on : ubuntu-latest
223
224
steps :
224
- - name : Build complete
225
- run : echo 'Build complete'
225
+ - name : Check if any previous job failed
226
+ run : |
227
+ if [[ "${{ needs.build.result }}" == "failure" ]]; then
228
+ # this ignores skipped dependencies
229
+ echo 'Required jobs failed to build.'
230
+ exit 1
231
+ else
232
+ echo 'Build complete'
233
+ fi
226
234
227
235
release :
228
236
needs : [build]
You can’t perform that action at this time.
0 commit comments