diff --git a/.github/actions/dependencies/action.yml b/.github/actions/dependencies/action.yml index 928c4d78499..a0e87891c36 100644 --- a/.github/actions/dependencies/action.yml +++ b/.github/actions/dependencies/action.yml @@ -58,7 +58,11 @@ runs: - name: Compress spack directory for caching shell: bash run: | - tar --exclude='opt' cf spack.tar spack/ + tar \ + --exclude='opt' \ + --exclude='var/spack/cache' \ + --exclude='var/spack/environments' \ + cf spack.tar spack/ zstd -T0 -19 spack.tar -o spack.tar.zst - uses: actions/cache/save@v4