Skip to content

Commit

Permalink
Update caching
Browse files Browse the repository at this point in the history
Copied from brainglobe/brainglobe-atlasapi#301, now everything is in .brainglobe.
  • Loading branch information
adamltyson authored May 20, 2024
1 parent 9b23f5c commit 7d453f6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ jobs:
python-version: "3.10"

steps:
# Cache the tensorflow model so we don't have to remake it every time
- name: Cache tensorflow model
- name: Cache atlases
uses: actions/cache@v3
with:
path: "~/.cellfinder"
key: models-${{ hashFiles('~/.brainglobe/**') }}
path: | # ensure we don't cache any interrupted atlas download and extraction, if e.g. we cancel the workflow manually
~/.brainglobe
!~/.brainglobe/atlas.tar.gz
key: brainglobe
# Setup pyqt libraries
- name: Setup qtpy libraries
uses: tlambert03/setup-qt-libs@v1
Expand Down

0 comments on commit 7d453f6

Please sign in to comment.