Skip to content

Commit

Permalink
bugfix, include spack cache for job_two
Browse files Browse the repository at this point in the history
  • Loading branch information
idigs authored Jan 9, 2024
1 parent f469bfa commit 83e6d7a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/mirror
key: spack-cache-1
key: spack-cache-2

- if: ${{ steps.spack-cache.outputs.cache-hit != 'true' }}
name: create spack cache
Expand Down Expand Up @@ -77,6 +77,13 @@ jobs:
repository: spack/spack
path: ./spack

- name: spack cache
id: spack-cache
uses: actions/cache@v3
with:
path: ~/mirror
key: spack-cache-2

- name: build korc
run: |
. ./spack/share/spack/setup-env.sh
Expand Down

0 comments on commit 83e6d7a

Please sign in to comment.