Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,14 @@ jobs:
continue-on-error: true
run: |
dvc remote modify origin url https://${DAGSHUB_TOKEN}@dagshub.com/GenericMappingTools/gmt.dvc --local
dvc pull --remote origin --no-run-cache
dvc pull --remote origin --no-run-cache --force
env:
DAGSHUB_TOKEN: ${{ secrets.DAGSHUB_TOKEN }}

- name: Download DVC cache from GitHub Artifacts and restore baseline image data
if: steps.dvc-pull.outcome == 'failure'
run: |
rm -rf .dvc/cache/
gh run download -n dvc-cache -D .dvc/cache/
dvc checkout --force
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,14 @@ jobs:
continue-on-error: true
run: |
dvc remote modify origin url https://${DAGSHUB_TOKEN}@dagshub.com/GenericMappingTools/gmt.dvc --local
dvc pull --remote origin --no-run-cache
dvc pull --remote origin --no-run-cache --force
env:
DAGSHUB_TOKEN: ${{ secrets.DAGSHUB_TOKEN }}

- name: Download DVC cache from GitHub Artifacts and restore baseline image data
if: steps.dvc-pull.outcome == 'failure'
run: |
rm -rf .dvc/cache
gh run download -n dvc-cache -D .dvc/cache/
dvc checkout --force
env:
Expand Down
Loading