cache full data folder and cutouts
This commit is contained in:
parent
d24b9a4883
commit
273ac5a192
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@ -18,7 +18,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
CONDA_CACHE_NUMBER: 1 # Change this value to manually reset the environment cache
|
CONDA_CACHE_NUMBER: 1 # Change this value to manually reset the environment cache
|
||||||
BUNDLE_CACHE_NUMBER: 1
|
DATA_CACHE_NUMBER: 1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -66,11 +66,13 @@ jobs:
|
|||||||
activate-environment: pypsa-eur
|
activate-environment: pypsa-eur
|
||||||
use-mamba: true
|
use-mamba: true
|
||||||
|
|
||||||
- name: Cache data bundle
|
- name: Cache data and cutouts folders
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: data/bundle
|
path: |
|
||||||
key: data-bundle-${{ env.BUNDLE_CACHE_NUMBER }}
|
data
|
||||||
|
cutouts
|
||||||
|
key: data-cutouts-${{ env.DATA_CACHE_NUMBER }}
|
||||||
|
|
||||||
- name: Set cache date
|
- name: Set cache date
|
||||||
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
|
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
|
||||||
|
Loading…
Reference in New Issue
Block a user