Skip to content

Commit 423c372

Browse files
committed
clear mamba package cache
seems to have a stale cache that it doesn't mind
1 parent 9ae5041 commit 423c372

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/actions/install-dependencies/action.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,19 @@ runs:
3838
key:
3939
conda-env-${{ steps.get-date.outputs.today }}-${{ inputs.python-version }}-${{ hashFiles('environment.yml') }}
4040

41+
- name: Clear package cache
42+
# package cache seems to be stale
43+
run:
44+
mamba clean -y --index-cache
45+
46+
shell: bash -el {0}
4147
- name: Update environment
4248
if: steps.cache-env.outputs.cache-hit != 'true'
4349
run:
4450
mamba env update -n mpi-tutorial -f environment.yml
4551
shell: bash -el {0}
52+
53+
- name: List environment
54+
run:
55+
mamba list -n mpi-tutorial
56+
shell: bash -el {0}

0 commit comments

Comments
 (0)