Skip to content

Commit ed99ae7

Browse files
committed
CI: fix early termination
GitHub accepted previous code, & did passed the steps, but somehow ... long story short, it was pretending to have early termination working, while it just was always skipping those steps silently. So, `index-state` needs another +1s.
1 parent 7bb7cae commit ed99ae7

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/caching.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@ jobs:
158158
${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-
159159
${{ env.cache-name }}-${{ runner.os }}-
160160
161-
- if: (! steps.compiled-deps.outputs.cache-hit)
161+
- if: steps.compiled-deps.outputs.cache-hit != 'true'
162162
run: |
163163
cabal update
164164
165-
- if: (! steps.compiled-deps.outputs.cache-hit)
165+
- if: steps.compiled-deps.outputs.cache-hit != 'true'
166166
name: Download all sources
167167
run: |
168168
cabal $cabalBuild --only-download
@@ -172,7 +172,7 @@ jobs:
172172
# but to cache what can be cached, so step is fault tolerant & would always succseed.
173173
# 2021-12-11: NOTE: Building all targets, since
174174
# current Cabal does not allow `all --enable-tests --enable-benchmarks --only-dependencies`
175-
- if: (! steps.compiled-deps.outputs.cache-hit)
175+
- if: steps.compiled-deps.outputs.cache-hit != 'true'
176176
name: Build all targets; try 3 times
177177
continue-on-error: true
178178
run: |

cabal-ghc901.project

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ package *
3737

3838
write-ghc-environment-files: never
3939

40-
index-state: 2021-11-29T12:30:10Z
40+
index-state: 2021-11-29T12:30:11Z
4141

4242
constraints:
4343
-- These plugins don't work on GHC9 yet

cabal-ghc921.project

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ package *
5252

5353
write-ghc-environment-files: never
5454

55-
index-state: 2021-12-18T00:00:02Z
55+
index-state: 2021-12-18T00:00:03Z
5656

5757
constraints:
5858
-- These plugins doesn't work on GHC92 yet

cabal.project

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ package *
4040

4141
write-ghc-environment-files: never
4242

43-
index-state: 2021-11-29T12:30:10Z
43+
index-state: 2021-11-29T12:30:11Z
4444

4545
constraints:
4646
hyphenation +embed

0 commit comments

Comments
 (0)