From f6e933be2cd2dc6f7d1d6c7b5a523b2be88ccdbd Mon Sep 17 00:00:00 2001 From: Guus Lieben Date: Fri, 25 Oct 2024 18:56:26 +0200 Subject: [PATCH] Update actions/upload-artifact to v4 in dependency check workflow --- .github/workflows/prebuild.dependency.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/prebuild.dependency.yml b/.github/workflows/prebuild.dependency.yml index a9f9f7f50..9d1ed4d68 100644 --- a/.github/workflows/prebuild.dependency.yml +++ b/.github/workflows/prebuild.dependency.yml @@ -21,8 +21,9 @@ jobs: NVD_API_KEY: ${{ secrets.NVD_API_KEY }} run: mvn dependency-check:check -Dowasp.skip=false -DnvdApiKey=$NVD_API_KEY -P ci - name: Archive dependency reports - uses: actions/upload-artifact@v2 - if: always() + uses: actions/upload-artifact@v4 with: - name: dependency-check-report - path: /hartshorn-*/target/dependency-check-report.html + name: OWASP dependency check report + path: '**/target/dependency-check-report.html' + if-no-files-found: error + retention-days: 7 \ No newline at end of file