Skip to content

Commit deae53d

Browse files
committed
fix: upgrade actions/cache v4→v5 and upload-artifact v4→v7 (Node 24)
Node.js 20 actions are deprecated — GitHub will force Node.js 24 starting June 2, 2026. - actions/cache/restore v4 → v5 - actions/cache/save v4 → v5 - actions/upload-artifact v4.6.2 → v7 Using version tags for clarity. See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
1 parent acb598e commit deae53d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ runs:
8181

8282
- id: load-cache
8383
if: ${{ env.CACHE_KEY }}
84-
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
84+
uses: actions/cache/restore@v5
8585
with:
8686
path: ~/cache-apt-pkgs
8787
key: cache-apt-pkgs_${{ env.CACHE_KEY }}
@@ -110,14 +110,14 @@ runs:
110110

111111
- id: upload-logs
112112
if: ${{ env.CACHE_KEY && inputs.debug == 'true' }}
113-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
113+
uses: actions/upload-artifact@v7
114114
with:
115115
name: cache-apt-pkgs-logs_${{ env.CACHE_KEY }}
116116
path: ~/cache-apt-pkgs/*.log
117117

118118
- id: save-cache
119119
if: ${{ env.CACHE_KEY && ! steps.load-cache.outputs.cache-hit }}
120-
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
120+
uses: actions/cache/save@v5
121121
with:
122122
path: ~/cache-apt-pkgs
123123
key: ${{ steps.load-cache.outputs.cache-primary-key }}

0 commit comments

Comments
 (0)