Skip to content

Commit 36dc4bb

Browse files
authored
Merge pull request #886 from xylar/fix-conda-cache
In CI, use a unique cache directory for each python version
2 parents 57072bf + cf5f6ec commit 36dc4bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build_workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
strategy:
5959
matrix:
6060
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
61+
fail-fast: false
6162
steps:
6263
- id: skip_check
6364
uses: fkirc/skip-duplicate-actions@master
@@ -75,7 +76,7 @@ jobs:
7576
# Increase this value to reset cache if conda-dev-spec.template has not changed in the workflow
7677
CACHE_NUMBER: 0
7778
with:
78-
path: ~/conda_pkgs_dir
79+
path: ~/conda_pkgs_dir_py${{ matrix.python-version }}
7980
key:
8081
${{ runner.os }}-${{ matrix.python-version }}-conda-${{ env.CACHE_NUMBER }}-${{
8182
hashFiles('conda/configure_compass_env.py,conda/*,conda/compass_env/*') }}

0 commit comments

Comments
 (0)