From 381994bf4737f64837cd192084a68a6d996b4368 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Mon, 28 Jul 2025 10:49:04 -0700 Subject: [PATCH] Upgrade actions/upload-artifact to v4. v3 has been deprecated and retired and cannot be used. --- .github/workflows/maven.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 67dafc4..3ebb6b4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -30,10 +30,10 @@ jobs: distribution: 'temurin' cache: 'maven' - name: Build and Test with Maven - run: mvn $MAVEN_CLI_OPTS clean verify + run: mvn $MAVEN_CLI_OPTS clean verify - name: Upload Test Results - uses: actions/upload-artifact@v3 - if: ${{ always() && matrix.java == '11' }} + uses: actions/upload-artifact@v4 + if: ${{ always() && matrix.java == '11' }} with: name: test-results path: 'target/surefire-reports/TEST-*.xml'