diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c43179..7b19b90 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,13 +35,13 @@ jobs: with: command: ./mvnw ${{ matrix.goal }} - name: Store test results - if: ${{ matrix.goal == 'test' }} && (success() || failure()) - uses: actions/upload-artifact@v3 + if: matrix.goal == 'test' && (success() || failure()) + uses: actions/upload-artifact@v4 with: name: test-results path: '**/target/surefire-reports' - - uses: actions/upload-artifact@v3 - if: contains(${{ matrix.goal }}, 'license') + - uses: actions/upload-artifact@v4 + if: contains(matrix.goal, 'license') with: name: license-report path: target/site/aggregate-third-party-report.html