Skip to content

Commit b2d67e2

Browse files
committed
try cache key fix
1 parent 796e5ee commit b2d67e2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ jobs:
2525
CACHE_NUMBER: 0
2626
with:
2727
path: ~/conda_pkgs_dir
28-
key:
29-
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('ci/environment-${{ matrix.CONDA_ENV }}.yml') }}
28+
key: >
29+
${{ format('{0}-conda-{1}-{2}',
30+
runner.os,
31+
env.CACHE_NUMBER,
32+
hashFiles(format('ci/environment-{0}.yml', matrix.CONDA_ENV))) }}
3033
3134
- name: Setup miniconda
3235
uses: conda-incubator/setup-miniconda@v2

0 commit comments

Comments
 (0)