File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,20 +20,20 @@ jobs:
2020 - name : Checkout repository
2121 uses : actions/checkout@v4
2222
23- - name : Set up Python
24- uses : actions /setup-python@v5
23+ - name : Setup Spack
24+ uses : spack /setup-spack@v2
2525 with :
26- python-version : ' 3.10'
27-
28- - name : Install Spack
29- run : |
30- git clone --depth 1 --branch v0.23.0 https://github.com/spack/spack.git
31- echo "${GITHUB_WORKSPACE}/spack/bin" >> $GITHUB_PATH
26+ ref : release/v0.22
27+ buildcache : true
28+ color : true
29+ path : spack
3230
3331 - name : Generate Dockerfile with Spack
32+ shell : spack-bash {0}
33+ working-directory : spack-env
3434 run : |
35- cd spack- env
36- ../spack/bin/ spack containerize > Dockerfile
35+ spack env activate .
36+ spack containerize > Dockerfile
3737
3838 # Update the Dockerfile for human review for debugging if necessary
3939 - name : Upload generated Dockerfile
You can’t perform that action at this time.
0 commit comments