diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91c095c..2aeed78 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - name: Build and Test id: buildAndTest run: mvn -B clean install jacoco:report -Pcoverage - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: artifacts path: target/*.jar diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml index 95dbb37..e0b77ac 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -23,7 +23,7 @@ jobs: java-version: 11 cache: 'maven' - name: Cache NVD DB - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository/org/owasp/dependency-check-data/ key: dependency-check-${{ github.run_id }} @@ -39,7 +39,7 @@ jobs: NVD_API_KEY: ${{ secrets.NVD_API_KEY }} - name: Upload report on failure if: steps.dependency-check.outcome == 'failure' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dependency-check-report path: target/dependency-check-report.html