From adafd7052be6eab27b33a3894516ab9a1c7b69ec Mon Sep 17 00:00:00 2001 From: Adam Tyson Date: Mon, 20 May 2024 13:25:57 +0100 Subject: [PATCH] Update caching (#201) * Update caching Copy from https://github.com/brainglobe/brainglobe-atlasapi/pull/301 * Rename caching step --------- Co-authored-by: Alessandro Felder --- .github/workflows/test_and_deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index d5927af..62b9965 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -37,10 +37,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: atlases - name: Setup QT libraries