fix(ci): adjust options for artifacts action v4

See: https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson 2024-02-12 01:48:50 +01:00 committed by Tilman Vatteroth
parent 6e42da2613
commit d3318eb232
2 changed files with 4 additions and 0 deletions

View file

@ -150,6 +150,7 @@ jobs:
name: frontend-e2e-build name: frontend-e2e-build
retention-days: 1 retention-days: 1
path: frontend-e2e-build.tar.zst path: frontend-e2e-build.tar.zst
overwrite: true
frontend-cypress: frontend-cypress:
if: "(github.event_name == 'pull_request_target') == github.event.pull_request.head.repo.fork" if: "(github.event_name == 'pull_request_target') == github.event.pull_request.head.repo.fork"
@ -180,6 +181,8 @@ jobs:
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: frontend-e2e-build name: frontend-e2e-build
path: .
merge-multiple: true
- name: Decompress build - name: Decompress build
run: tar -xf frontend-e2e-build.tar.zst run: tar -xf frontend-e2e-build.tar.zst

View file

@ -57,6 +57,7 @@ jobs:
name: SARIF file name: SARIF file
path: results.sarif path: results.sarif
retention-days: 5 retention-days: 5
overwrite: true
# Upload the results to GitHub's code scanning dashboard. # Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning" - name: "Upload to code-scanning"