From deae53dec1ebb32c4ee8f4a3d68534de7391c1b9 Mon Sep 17 00:00:00 2001 From: Paul Keen <125715+pftg@users.noreply.github.com> Date: Mon, 13 Apr 2026 10:12:28 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20upgrade=20actions/cache=20v4=E2=86=92v5?= =?UTF-8?q?=20and=20upload-artifact=20v4=E2=86=92v7=20(Node=2024)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/ --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 4b30ff6..c83f7fb 100644 --- a/action.yml +++ b/action.yml @@ -81,7 +81,7 @@ runs: - id: load-cache if: ${{ env.CACHE_KEY }} - uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache/restore@v5 with: path: ~/cache-apt-pkgs key: cache-apt-pkgs_${{ env.CACHE_KEY }} @@ -110,14 +110,14 @@ runs: - id: upload-logs if: ${{ env.CACHE_KEY && inputs.debug == 'true' }} - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@v7 with: name: cache-apt-pkgs-logs_${{ env.CACHE_KEY }} path: ~/cache-apt-pkgs/*.log - id: save-cache if: ${{ env.CACHE_KEY && ! steps.load-cache.outputs.cache-hit }} - uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache/save@v5 with: path: ~/cache-apt-pkgs key: ${{ steps.load-cache.outputs.cache-primary-key }}