Skip to content

Commit

Permalink
ci: tweak cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
stevana committed Oct 22, 2024
1 parent 98d8155 commit 636b7b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
--volume "${HOME}/.cabal/store":/root/.local/state/cabal/store \
--volume "${{ github.workspace }}/dist-newstyle":/mnt/dist-newstyle \
ghcr.io/spex-lang/static-build:9.6.6 \
GH_TOKEN: ${{ github.token }}

# --volume "${{ github.workspace }}":/mnt/:ro \
# --volume "${HOME}/.cabal/packages":/root/.cache/cabal/packages \
Expand Down Expand Up @@ -118,7 +119,7 @@ jobs:
path: |
${HOME}/.cache/cabal/packages
${HOME}/.cabal/store
key: ${{ env.key }}-plan-${{ hashFiles('${{ github.workspace }}/cache/plan.json') }}
key: ${{ env.key }}-plan-${{ hashFiles(${{ github.workspace }}/cache/plan.json) }}
restore-keys: ${{ env.key }}-

# ${{ github.workspace }}/dist-newstyle
Expand Down

0 comments on commit 636b7b4

Please sign in to comment.