From 83bb9379d630cf533780d7a0eea999c652b88ee4 Mon Sep 17 00:00:00 2001 From: Stefan Baebler Date: Tue, 5 May 2020 06:50:12 +0200 Subject: [PATCH] cache downloads --- .github/workflows/make.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index cb07693..dfacbe1 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -25,6 +25,19 @@ jobs: - name: Install gdal run: sudo apt-get install gdal-bin + - name: Cache EGP downloads + uses: actions/cache@v1 + env: + cache-name: cache-egp-downloads + with: + path: data/downloaded/ + key: ${{ runner.os }}-build-${{ env.cache-name }} + restore-keys: | + ${{ runner.os }}-build-${{ env.cache-name }} + ${{ runner.os }}-build- + ${{ runner.os }}- + + # Runs a single command using the runners shell - name: Run make env: