From d3d4487e3e4ce6844d0db6ce1aba00051ef06e90 Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Tue, 10 Sep 2024 11:20:14 +0200 Subject: [PATCH 1/3] Bump actions/upload-artifact to v4 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c43179..c8c5882 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,11 +36,11 @@ jobs: command: ./mvnw ${{ matrix.goal }} - name: Store test results if: ${{ matrix.goal == 'test' }} && (success() || failure()) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results path: '**/target/surefire-reports' - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: contains(${{ matrix.goal }}, 'license') with: name: license-report From 01925c855f5c0e4f074b5b3f953381f29b9703a0 Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Wed, 11 Sep 2024 10:29:04 +0200 Subject: [PATCH 2/3] Fix if condition --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c8c5882..6b514bb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: name: test-results path: '**/target/surefire-reports' - uses: actions/upload-artifact@v4 - if: contains(${{ matrix.goal }}, 'license') + if: contains(matrix.goal, 'license') with: name: license-report path: target/site/aggregate-third-party-report.html From a6d44bd44fb13eb079a56edf1c5c231efd2c4c43 Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Wed, 11 Sep 2024 10:34:04 +0200 Subject: [PATCH 3/3] Fix another if condition --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6b514bb..7b19b90 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: with: command: ./mvnw ${{ matrix.goal }} - name: Store test results - if: ${{ matrix.goal == 'test' }} && (success() || failure()) + if: matrix.goal == 'test' && (success() || failure()) uses: actions/upload-artifact@v4 with: name: test-results