From 3b5bfd5af433c89709361763405ebcffec2b85c4 Mon Sep 17 00:00:00 2001 From: mos Date: Wed, 10 Apr 2024 15:39:35 +0200 Subject: [PATCH] fix deprecation warning update actions/cache/save to v4 switch to node 20: fix deprecation warning actions/cache/restore to v4 fix deprecation wawing --- .github/workflows/actions/windows/getCcache/action.yml | 4 ++-- .github/workflows/actions/windows/getLibpack/action.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/actions/windows/getCcache/action.yml b/.github/workflows/actions/windows/getCcache/action.yml index be56349f46..bd0fc1ebee 100644 --- a/.github/workflows/actions/windows/getCcache/action.yml +++ b/.github/workflows/actions/windows/getCcache/action.yml @@ -55,7 +55,7 @@ runs: run: | mkdir -p ${{ inputs.ccachebindir }} - name: Get cached version - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 id: getCached with: path: ${{ inputs.ccachebindir }} @@ -72,7 +72,7 @@ runs: rm -rf ccachetemp - name: Save version to cache if: steps.getCached.outputs.cache-hit != 'true' - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: ${{ inputs.ccachebindir }} key: ${{ steps.getCached.outputs.cache-primary-key }} diff --git a/.github/workflows/actions/windows/getLibpack/action.yml b/.github/workflows/actions/windows/getLibpack/action.yml index d30e6ba570..55135e38d7 100644 --- a/.github/workflows/actions/windows/getLibpack/action.yml +++ b/.github/workflows/actions/windows/getLibpack/action.yml @@ -55,7 +55,7 @@ runs: run: | mkdir -p ${{ inputs.libpackdir }} - name: Get cached version - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 id: getCached with: path: ${{ inputs.libpackdir }} @@ -70,7 +70,7 @@ runs: rm -rf libpacktemp - name: Save version to cache if: steps.getCached.outputs.cache-hit != 'true' - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: ${{ inputs.libpackdir }} key: ${{ steps.getCached.outputs.cache-primary-key }}