Skip to content

Commit

Permalink
Update cache_data workflow to download from successfully cached artif…
Browse files Browse the repository at this point in the history
…acts (GenericMappingTools#692)

Adds a missing @ back to cache workflow, accidental typo from GenericMappingTools#687.
Also bumps dawidd6/action-download-artifact from 2.6.3 to 2.10.0 and
make sure that we only grab from successfully cached artifacts next time.
  • Loading branch information
weiji14 authored Nov 16, 2020
1 parent 2aa4aab commit ec4ce2f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cache_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
# Setup Miniconda
- name: Setup Miniconda
uses: conda-incubator/setup-minicondav2.0.0
uses: conda-incubator/setup-miniconda@v2.0.0
with:
channels: conda-forge
miniconda-version: "latest"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ jobs:

# Download cached remote files (artifacts) from GitHub
- name: Download remote data from GitHub
uses: dawidd6/action-download-artifact@v2.6.3
uses: dawidd6/action-download-artifact@v2.10.0
with:
workflow: cache_data.yaml
workflow_conclusion: success
name: gmt-cache
path: .gmt

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_tests_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ jobs:

# Download cached remote files (artifacts) from GitHub
- name: Download remote data from GitHub
uses: dawidd6/action-download-artifact@v2.6.3
uses: dawidd6/action-download-artifact@v2.10.0
with:
workflow: cache_data.yaml
workflow_conclusion: success
name: gmt-cache
path: .gmt

Expand Down

0 comments on commit ec4ce2f

Please sign in to comment.