Skip to content

Commit ec4ce2f

Browse files
authored
Update cache_data workflow to download from successfully cached artifacts (#692)
Adds a missing @ back to cache workflow, accidental typo from #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.
1 parent 2aa4aab commit ec4ce2f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/cache_data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
# Setup Miniconda
1818
- name: Setup Miniconda
19-
uses: conda-incubator/setup-minicondav2.0.0
19+
uses: conda-incubator/setup-miniconda@v2.0.0
2020
with:
2121
channels: conda-forge
2222
miniconda-version: "latest"

.github/workflows/ci_tests.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@ jobs:
9797

9898
# Download cached remote files (artifacts) from GitHub
9999
- name: Download remote data from GitHub
100-
uses: dawidd6/action-download-artifact@v2.6.3
100+
uses: dawidd6/action-download-artifact@v2.10.0
101101
with:
102102
workflow: cache_data.yaml
103+
workflow_conclusion: success
103104
name: gmt-cache
104105
path: .gmt
105106

.github/workflows/ci_tests_dev.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@ jobs:
6464

6565
# Download cached remote files (artifacts) from GitHub
6666
- name: Download remote data from GitHub
67-
uses: dawidd6/action-download-artifact@v2.6.3
67+
uses: dawidd6/action-download-artifact@v2.10.0
6868
with:
6969
workflow: cache_data.yaml
70+
workflow_conclusion: success
7071
name: gmt-cache
7172
path: .gmt
7273

0 commit comments

Comments
 (0)