fix deprecation warning

update
actions/cache/save to v4
switch to node 20: fix deprecation warning

actions/cache/restore to v4

fix deprecation wawing
This commit is contained in:
mos
2024-04-10 15:39:35 +02:00
committed by wwmayer
parent 83ea7e4355
commit 3b5bfd5af4
2 changed files with 4 additions and 4 deletions

View File

@@ -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 }}