Skip to content

Commit

Permalink
Update caching (#177)
Browse files Browse the repository at this point in the history
* Update caching

Copied from brainglobe/brainglobe-atlasapi#301

* Rename caching step

---------

Co-authored-by: Alessandro Felder <[email protected]>
  • Loading branch information
adamltyson and alessandrofelder committed May 20, 2024
1 parent 4081f85 commit 9c9929a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ jobs:
python-version: "3.9"

steps:
- name: Cache atlases
- name: Cache brainglobe directory
uses: actions/cache@v3
with:
path: ~/.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: bg-atlases
- name: install HDF5 libs on ARM Mac
if: matrix.os == 'macos-latest'
Expand Down

0 comments on commit 9c9929a

Please sign in to comment.