Skip to content

Commit 9acdf1e

Browse files
cz-dev-gemnonnenmacher
authored andcommitted
Update github actions cache and upload-artifact to v4 with NodeJS 20
Actions using NodeJS 16 are deprecated. Signed-off-by: Georg Eckert (ZEISS) <[email protected]>
1 parent 03b4233 commit 9acdf1e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ runs:
329329
printenv >> "$GITHUB_ENV"
330330
- name: Cache dependencies
331331
id: cache-dependencies
332-
uses: actions/cache@v3
332+
uses: actions/cache@v4
333333
if: contains(inputs.run, 'cache-dependencies') && startsWith(runner.os, 'Linux')
334334
with:
335335
path: |
@@ -357,7 +357,7 @@ runs:
357357
key: ${{ runner.os }}-ort-deps-cache
358358
- name: Cache ORT scan results
359359
id: cache-scan-results
360-
uses: actions/cache@v3
360+
uses: actions/cache@v4
361361
if: contains(inputs.run, 'cache-scan-results') && startsWith(runner.os, 'Linux')
362362
with:
363363
path: '${{ env.HOME}}/${{ env.ORT_HOME_PATH }}/scanner/'
@@ -543,28 +543,28 @@ runs:
543543
rm -f $ORT_RESULTS_CURRENT_PATH
544544
fi
545545
- name: Upload ORT results
546-
uses: actions/upload-artifact@v3
546+
uses: actions/upload-artifact@v4
547547
if: contains(inputs.run, 'upload-results')
548548
with:
549549
name: ${{ env.ORT_RESULTS_ARTIFACT_NAME }}
550550
path: ${{ env.ORT_RESULTS_PATH }}
551551
if-no-files-found: warn
552552
- name: Upload ORT advisor-result.json
553-
uses: actions/upload-artifact@v3
553+
uses: actions/upload-artifact@v4
554554
if: contains(inputs.run, 'upload-advisor-result')
555555
with:
556556
name: "${{ env.ORT_RESULTS_ARTIFACT_NAME }}-advisor-result.json.zip"
557557
path: ${{ env.ORT_RESULTS_ADVISOR_PATH }}
558558
if-no-files-found: warn
559559
- name: Upload ORT evaluation-result.json
560-
uses: actions/upload-artifact@v3
560+
uses: actions/upload-artifact@v4
561561
if: contains(inputs.run, 'upload-evaluation-result')
562562
with:
563563
name: "${{ env.ORT_RESULTS_ARTIFACT_NAME }}-evaluation-result.json.zip"
564564
path: ${{ env.ORT_RESULTS_EVALUATE_PATH }}
565565
if-no-files-found: warn
566566
- name: Upload ORT scan-result.json
567-
uses: actions/upload-artifact@v3
567+
uses: actions/upload-artifact@v4
568568
if: contains(inputs.run, 'upload-scan-result')
569569
with:
570570
name: "${{ env.ORT_RESULTS_ARTIFACT_NAME }}-scan-result.json.zip"

0 commit comments

Comments
 (0)