Skip to content

Commit

Permalink
CI: Cache gmt_hash_server.txt and gmt_data_server.txt files
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Jan 27, 2024
1 parent 29c2623 commit 7d03f43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cache_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ jobs:
run: |
python -c "from pygmt.helpers.caching import cache_data; cache_data()"
- name: List downloaded remote files
run: ls -lhR ~/.gmt

# Upload the downloaded files as artifacts to GitHub
- name: Upload artifacts to GitHub
uses: actions/upload-artifact@v4
Expand All @@ -74,3 +77,5 @@ jobs:
path: |
~/.gmt/cache
~/.gmt/server
~/.gmt/gmt_data_server.txt
~/.gmt/gmt_hash_server.txt

0 comments on commit 7d03f43

Please sign in to comment.