Skip to content

Commit

Permalink
namwes, shuffle
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Dec 20, 2024
1 parent 0fb7744 commit d98a6c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/actions/dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,18 @@ runs:
SPACK_VERSION: ${{ inputs.spack_version }}
run: |
CI/dependencies/setup_spack.sh
bin/spack list > /dev/null
rm -rf spack/.git
tar cf spack.tar spack/
tar cf spack_cache.tar -C ~ .spack
- name: Save cache
if: steps.cache-restore.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
with:
path: spack.tar.zst
path: |
spack.tar
spack_cache.tar
key: spack-v2-${{ inputs.spack_version }}-${{ hashFiles('CI/dependencies/setup_spack.sh') }}

- name: Install dependencies
Expand Down
5 changes: 0 additions & 5 deletions CI/dependencies/setup_spack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,5 @@ if [ ! -d "spack" ]; then
pushd spack > /dev/null
git config user.name 'CI'
git config user.email '<>'

rm -rf .git

echo "Populating the repository index"
bin/spack list > /dev/null
popd > /dev/null
fi

0 comments on commit d98a6c6

Please sign in to comment.