Skip to content

Commit

Permalink
actions/run-harness: refine cache key (#225)
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw authored Mar 8, 2024
1 parent b526253 commit d12e212
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/run-harnesses/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ runs:
id: compute-cache-key
shell: bash
run: |
echo "HARNESS_CACHE_KEY=limbo-harness-${LIMBO_HASH}-${HARNESS_HASH}" >> "${GITHUB_OUTPUT}"
echo "HARNESS_CACHE_KEY=limbo-harness-${LIMBO_CACHE_KEY}" >> "${GITHUB_OUTPUT}"
env:
LIMBO_HASH: ${{ hashFiles('limbo.json') }}
HARNESS_HASH: ${{ hashFiles('harness/**') }}
LIMBO_CACHE_KEY: ${{ hashFiles('Makefile', 'limbo.json', 'harness/**') }}

- uses: actions/cache/restore@v4
id: restore-cache
Expand Down

0 comments on commit d12e212

Please sign in to comment.