Skip to content

Commit

Permalink
[scripts] Fix workflow caching wrong folder
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEpicBlock committed Sep 30, 2024
1 parent 425d079 commit f9ccec7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,13 @@ jobs:
- name: Cache test-runner (static cache)
uses: actions/cache@v4
with:
path: |
run/cache-dynamic
path: run/cache-static/
key: test-run-static-cache-${{ hashFiles('run/desired_cache_state_for_static_cache.json') }} # Try and get the desired state
restore-keys: test-run-static-cache- # But fall back if needed
- name: Cache test-runner (dynamic cache)
uses: actions/cache@v4
with:
path: |
run/cache-dynamic
path: run/cache-dynamic/
key: test-run-dynamic-cache-${{ hashFiles('generated/pack/pack.toml') }} # pack.toml contains hashes for all other files
restore-keys: test-run-dynamic-cache-

Expand Down

0 comments on commit f9ccec7

Please sign in to comment.