Skip to content

Commit 338b3ed

Browse files
committed
M .github/workflows/caching.yml
1 parent 012cec8 commit 338b3ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/caching.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ jobs:
154154
${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-
155155
${{ env.cache-name }}-${{ runner.os }}-
156156
157-
- if: ! steps.compiled-deps.outputs.cache-hit
157+
- if: (! steps.compiled-deps.outputs.cache-hit)
158158
run: |
159159
cabal update
160160
161-
- if: ! steps.compiled-deps.outputs.cache-hit
161+
- if: (! steps.compiled-deps.outputs.cache-hit)
162162
name: Download all sources
163163
run: |
164164
cabal $cabalBuild --only-download
@@ -168,7 +168,7 @@ jobs:
168168
# but to cache what can be cached, so step is fault tolerant & would always succseed.
169169
# 2021-12-11: NOTE: Building all targets, since
170170
# current Cabal does not allow `all --enable-tests --enable-benchmarks --only-dependencies`
171-
- if: ! steps.compiled-deps.outputs.cache-hit
171+
- if: (! steps.compiled-deps.outputs.cache-hit)
172172
name: Build all targets; try 3 times
173173
continue-on-error: true
174174
run: |

0 commit comments

Comments
 (0)