Skip to content

Commit

Permalink
Add Python version to cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f committed Jan 8, 2022
1 parent 437aa5b commit b2786e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
path: ~/conda_pkgs_dir
key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}
${{ runner.os }}-py${{ matrix.python-version }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}

# More info on options: https://github.com/conda-incubator/setup-miniconda
- name: Set up Anaconda environment
Expand Down

0 comments on commit b2786e5

Please sign in to comment.