fix: update actions/cache and actions/cache/save versions to v5
This commit is contained in:
parent
50326ce91f
commit
5da47a8871
1 changed files with 3 additions and 5 deletions
|
|
@ -43,12 +43,10 @@ runs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build-Node-App Restore Node Modules Cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-nodejs-${{ hashFiles('package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-nodejs-
|
||||
|
||||
- name: Build-Node-App Build and Test
|
||||
shell: sh
|
||||
|
|
@ -66,10 +64,10 @@ runs:
|
|||
echo "Artifact zipped: ${{ inputs.artifact_name }}.tar.gz"
|
||||
|
||||
- name: Store Node Modules Cache
|
||||
uses: actions/cache/save@v4
|
||||
uses: actions/cache/save@v5
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
|
||||
key: ${{ runner.os }}-nodejs-${{ hashFiles('package-lock.json') }}
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: ${{ inputs.should_zip_artifact == 'false' }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue