Skip to content

Commit

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

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

0 comments on commit 0a33f41

Please sign in to comment.