Skip to content

Commit

Permalink
Use coastline cache
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed May 8, 2024
1 parent a8dc51d commit 164a10e
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,10 @@ jobs:
env:
EXCLUDE_OPTIONAL: ${{ matrix.EXCLUDE_OPTIONAL }}

- name: Cache GSHHG and DCW data
uses: actions/cache@v4
id: cache-coastline
with:
path: ${{ env.COASTLINEDIR }}
key: coastline-${{ hashFiles('ci/download-coastlines.sh') }}

- name: Download coastlines
run: bash ci/download-coastlines.sh
if: steps.cache-coastline.outputs.cache-hit != 'true'
- name: Download GSHHG and DCW data
run: gh run download -n coastline-cache -D ${{ env.COASTLINEDIR }}
env:
GH_TOKEN: ${{ github.token }}

- name: Configure GMT
run: |
Expand Down

0 comments on commit 164a10e

Please sign in to comment.