Skip to content

Commit

Permalink
Update GitHub Actions workflow to use new cache paths and improve cac…
Browse files Browse the repository at this point in the history
…he key structure for Conda environments.
  • Loading branch information
michaelaye committed Nov 27, 2024
1 parent 06582fd commit fed436f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
uses: actions/cache@v3
with:
path: |
$CONDA/envs/test_env
$CONDA/pkgs
key: conda-${{ runner.os }}-${{ hashFiles('pyproject.toml') }}
/usr/share/miniconda/pkgs
/usr/share/miniconda/envs
key: ${{ runner.os }}-conda-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('install_dev_deps.py') }}
restore-keys: |
conda-${{ runner.os }}-
${{ runner.os }}-conda-
- name: Install dependencies
shell: bash -l {0}
Expand Down

0 comments on commit fed436f

Please sign in to comment.