Skip to content

Commit 890271c

Browse files
Merge pull request #34 from well-typed/tcard/windows
Fix restore cache condition
2 parents d47f338 + 19181dd commit 890271c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ on:
3636
required: true
3737
enable_cache:
3838
description: "Enable cache (restore and save)"
39-
default: true
39+
default: "true"
4040
required: true
4141
debug_tmate:
4242
description: "Debug with tmate after {init, checkout, setup, build, test}"
@@ -256,7 +256,7 @@ jobs:
256256

257257
- name: "[setup] Restore cache"
258258
# Do not restore the cache if it is disabled in a manual dispatch.
259-
if: ${{ github.event_name != 'workflow_dispatch' || inputs.enable_cache }}
259+
if: ${{ github.event_name != 'workflow_dispatch' || inputs.enable_cache == 'true' }}
260260
id: restore-cache
261261
uses: actions/cache/restore@v4
262262
env:

0 commit comments

Comments
 (0)