Skip to content

Commit

Permalink
CI: Cache GSHHG and DCW datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed May 8, 2024
1 parent 0e38ab5 commit a8dc51d
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/ci-caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# Create CI caches for:
#
# 1. GMT remote data for building documentation and running tests
# 2. vcpkg libraries on Windows
# 2. GMT GSHHG and DCW datasets
# 3. vcpkg libraries on Windows
#
name: GMT CI Caches

Expand Down Expand Up @@ -105,8 +106,28 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: gmt-cache
path: |
~/.gmt/static
path: ~/.gmt/static

coastline_cache:
name: Cache GSHHG and DCW datasets
runs-on: ubuntu-latest
env:
COASTLINEDIR: ${{ github.workspace }}/coastline

steps:
- name: Checkout
uses: actions/checkout@v4.1.4

- name: Download GSHHG and DCW datasets
run: bash ci/download-coastlines.sh
env:
COASTLINEDIR: ${{ env.COASTLINEDIR }}

- name: Upload artifacts to GitHub
uses: actions/upload-artifact@v4
with:
name: coastline-cache
path: ${{ env.COASTLINEDIR }}

vcpkg_cache:
name: Cache vcpkg libraries
Expand Down

0 comments on commit a8dc51d

Please sign in to comment.