Skip to content

Commit

Permalink
CI: cache the Appose cache
Browse files Browse the repository at this point in the history
So that every single build doesn't need to download and unpack
micromamba, then download and unpack all conda environment packages.
  • Loading branch information
ctrueden committed Sep 11, 2024
1 parent 8a9a224 commit b9f74ec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ jobs:
with:
python-version: '3.10'

- name: Cache Appose environments
id: cache-appose
uses: actions/cache@v4
with:
path: ~/.local/share/appose
key: ${{ runner.os }}-build-appose-${{ hashFiles('*') }}
restore-keys: |
${{ runner.os }}-build-appose-
- name: Set up CI environment
run: .github/setup.sh

Expand Down

0 comments on commit b9f74ec

Please sign in to comment.