refresh data/cutouts folders cache every week
This commit is contained in:
parent
273ac5a192
commit
9f4e61d822
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@ -72,10 +72,12 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
data
|
data
|
||||||
cutouts
|
cutouts
|
||||||
key: data-cutouts-${{ env.DATA_CACHE_NUMBER }}
|
key: data-cutouts-${{ env.WEEK }}-${{ env.DATA_CACHE_NUMBER }}
|
||||||
|
|
||||||
- name: Set cache date
|
- name: Set cache dates
|
||||||
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
|
run: |
|
||||||
|
echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
|
||||||
|
echo "WEEK=$(date +'%Y%U')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create environment cache
|
- name: Create environment cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user