From 273ac5a1921c623c509b30f44885af466b84bbff Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Thu, 24 Mar 2022 14:07:44 +0100 Subject: [PATCH] cache full data folder and cutouts --- .github/workflows/ci.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0421ef82..98c024b6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,7 +18,7 @@ on: env: CONDA_CACHE_NUMBER: 1 # Change this value to manually reset the environment cache - BUNDLE_CACHE_NUMBER: 1 + DATA_CACHE_NUMBER: 1 jobs: build: @@ -66,11 +66,13 @@ jobs: activate-environment: pypsa-eur use-mamba: true - - name: Cache data bundle + - name: Cache data and cutouts folders uses: actions/cache@v3 with: - path: data/bundle - key: data-bundle-${{ env.BUNDLE_CACHE_NUMBER }} + path: | + data + cutouts + key: data-cutouts-${{ env.DATA_CACHE_NUMBER }} - name: Set cache date run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV