diff --git a/.github/workflows/spack_cpu_build.yaml b/.github/workflows/spack_cpu_build.yaml index 7a105db3..8ed7812c 100644 --- a/.github/workflows/spack_cpu_build.yaml +++ b/.github/workflows/spack_cpu_build.yaml @@ -8,6 +8,10 @@ env: IMAGE_NAME: exago USERNAME: exago-bot BASE_VERSION: ubuntu-22.04-fortran + SPACK_CACHE: /opt/spack-cache + tempdir: /opt/spack-cache + TMP: /opt/spack-cache + TMPDIR: /opt/spack-cache # Until we remove the need to clone submodules to build, this should on be in PRs on: [pull_request] @@ -90,12 +94,6 @@ jobs: packages: write contents: read - env: - SPACK_CACHE: /opt/spack-cache - tempdir: ${{ env.SPACK_CACHE }} - TMP: ${{ env.SPACK_CACHE }} - TMPDIR: ${{ env.SPACK_CACHE }} - strategy: matrix: # Minimal Build(s) - GHCR mirror speeds these up a lot!