From 88621b6cecbc0454b34524e359377dba241b6265 Mon Sep 17 00:00:00 2001 From: Paul Gessinger Date: Thu, 19 Dec 2024 17:36:15 +0100 Subject: [PATCH] repack? --- .github/actions/dependencies/action.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/actions/dependencies/action.yml b/.github/actions/dependencies/action.yml index 84cc0085615..36481206a38 100644 --- a/.github/actions/dependencies/action.yml +++ b/.github/actions/dependencies/action.yml @@ -25,7 +25,7 @@ runs: uses: actions/cache/restore@v4 with: path: spack.tar.zst - key: ${{ env.CACHE_KEY }}-spack + key: spack-clone - name: Extract spack cache if found if: steps.cache-spack-restore.outputs.cache-hit == 'true' @@ -37,8 +37,7 @@ runs: rm spack.tar git -C spack pull --rebase - - name: Compress spack directory for caching if we cloned - if: steps.cache-spack-restore.outputs.cache-hit == 'false' + - name: Compress spack directory for caching shell: bash run: | tar cf spack.tar spack/ @@ -47,7 +46,7 @@ runs: - uses: actions/cache/save@v4 with: path: spack.tar.zst - key: ${{ env.CACHE_KEY }}-spack + key: spack-clone - name: Install dependencies shell: bash