Skip to content

Commit

Permalink
CI: Cache conda packages
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Mar 23, 2024
1 parent 4c08fab commit 56660a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}
env:
# Bump to reset cache
CACHE_NUMBER: 0
id: cache
- name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v3
with:
Expand Down

0 comments on commit 56660a2

Please sign in to comment.