File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
.github/actions/install-dependencies Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 2222 use-mamba : true
2323 # uncomment to install env in one go (without caching)
2424 # environment-file: environment.yml
25- # needed for caching
26- use-only-tar-bz2 : true
2725
2826 - name : Get Date
2927 id : get-date
@@ -36,10 +34,21 @@ runs:
3634 with :
3735 path : ${{ env.CONDA }}/envs/mpi-tutorial
3836 key :
39- conda-env-${{ steps.get-date.outputs.today }}-${{ inputs.python-version }}-${{ hashFiles('environment.yml') }}
37+ conda-env-${{ steps.get-date.outputs.today }}-${{ inputs.python-version }}-${{ hashFiles('environment.yml') }}-${{ hashFiles('.github/actions/install-dependencies/**') }}
4038
39+ - name : Clear package cache
40+ # package cache seems to be stale
41+ run :
42+ mamba clean -y --index-cache
43+
44+ shell : bash -el {0}
4145 - name : Update environment
4246 if : steps.cache-env.outputs.cache-hit != 'true'
4347 run :
4448 mamba env update -n mpi-tutorial -f environment.yml
4549 shell : bash -el {0}
50+
51+ - name : List environment
52+ run :
53+ mamba list -n mpi-tutorial
54+ shell : bash -el {0}
You can’t perform that action at this time.
0 commit comments