diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a583a5..fa00a1a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: env: CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} continue-on-error: true - - 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 35e1ef8..1cf2c73 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -23,7 +23,7 @@ jobs: distribution: 'temurin' 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