Skip to content

Commit 54e3831

Browse files
authored
Be more explicit about cache save/restore (#8705)
1 parent fa12264 commit 54e3831

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.github/workflows/build-artifacts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
if: ${{ inputs.force }}
102102

103103
- name: Store Artifacts in Cache
104-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
104+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
105105
with:
106106
path: ${{ github.workspace }}/dist
107107
key: nginx-ingress-${{ inputs.go-md5 }}
@@ -144,7 +144,7 @@ jobs:
144144
# chmod 600 $HOME/.netrc
145145

146146
# - name: Fetch Cached Artifacts
147-
# uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
147+
# uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
148148
# with:
149149
# path: ${{ github.workspace }}/dist
150150
# key: nginx-ingress-${{ inputs.go-md5 }}

.github/workflows/build-oss.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ jobs:
197197
echo "full-build: ${{ inputs.full-build }}"
198198
199199
- name: Fetch Cached Artifacts
200-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
200+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
201201
with:
202202
path: ${{ github.workspace }}/dist
203203
key: nginx-ingress-${{ inputs.go-md5 }}

.github/workflows/build-plus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ jobs:
225225
echo "full-build: ${{ inputs.full-build }}"
226226
227227
- name: Fetch Cached Artifacts
228-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
228+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
229229
with:
230230
path: ${{ github.workspace }}/dist
231231
key: nginx-ingress-${{ inputs.go-md5 }}

.github/workflows/build-single-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116

117117
- name: Fetch Cached Binary Artifacts
118118
id: binary-cache
119-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
119+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
120120
with:
121121
path: ${{ github.workspace }}/dist
122122
key: nginx-ingress-${{ steps.vars.outputs.go_code_md5 }}
@@ -133,7 +133,7 @@ jobs:
133133
if: ${{ steps.binary-cache.outputs.binary_cache_hit != 'true' }}
134134

135135
- name: Store Artifacts in Cache
136-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
136+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
137137
with:
138138
path: ${{ github.workspace }}/dist
139139
key: nginx-ingress-${{ steps.vars.outputs.go_code_md5 }}

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
122122
- name: Fetch Cached Binary Artifacts
123123
id: binary-cache
124-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
124+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
125125
with:
126126
path: ${{ github.workspace }}/dist
127127
key: nginx-ingress-${{ steps.vars.outputs.go_code_md5 }}
@@ -562,7 +562,7 @@ jobs:
562562
if: ${{ ( needs.checks.outputs.forked_workflow == 'false' || needs.checks.outputs.docs_only == 'false' ) && steps.stable_exists.outputs.exists != 'true' }}
563563

564564
- name: Fetch Cached Artifacts
565-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
565+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
566566
with:
567567
path: ${{ github.workspace }}/dist
568568
key: nginx-ingress-${{ needs.checks.outputs.go_code_md5 }}

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ jobs:
563563
ref: ${{ inputs.release_branch }}
564564

565565
- name: Fetch Binary Artifacts from Cache
566-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
566+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
567567
with:
568568
path: ${{ github.workspace }}/dist
569569
key: nginx-ingress-${{ needs.variables.outputs.go_code_md5 }}
@@ -584,7 +584,7 @@ jobs:
584584
SYFT_BIN: ${{ steps.syft.outputs.cmd }}
585585

586586
- name: Store Tarball Artifacts in Cache
587-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
587+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
588588
with:
589589
path: ${{ github.workspace }}/tarballs
590590
key: nginx-ingress-release-${{ needs.variables.outputs.go_code_md5 }}
@@ -605,7 +605,7 @@ jobs:
605605
ref: ${{ inputs.release_branch }}
606606

607607
- name: Fetch Cached Tarball Artifacts
608-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
608+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
609609
with:
610610
key: nginx-ingress-release-${{ needs.variables.outputs.go_code_md5 }}
611611
path: ${{ github.workspace }}/tarballs
@@ -662,7 +662,7 @@ jobs:
662662
ref: ${{ inputs.release_branch }}
663663

664664
- name: Fetch Cached Tarball Artifacts
665-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
665+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
666666
with:
667667
key: nginx-ingress-release-${{ needs.variables.outputs.go_code_md5 }}
668668
path: ${{ github.workspace }}/tarballs

.github/workflows/setup-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
if: ${{ inputs.authenticated && steps.stable_exists.outputs.exists != 'true' }}
143143

144144
- name: Fetch Cached Artifacts
145-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
145+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
146146
with:
147147
path: ${{ github.workspace }}/dist
148148
key: nginx-ingress-${{ inputs.go-md5 }}

0 commit comments

Comments
 (0)