From 636b7b4b4760a8f3abc25696d84c278776b11b14 Mon Sep 17 00:00:00 2001 From: Stevan Andjelkovic Date: Tue, 22 Oct 2024 16:30:29 +0200 Subject: [PATCH] ci: tweak cache key --- .github/workflows/main.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 970bb88..994a937 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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 \ @@ -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