Upgrade actions/upload-artifact to v4.

v3 has been deprecated and retired and cannot be used.
This commit is contained in:
Michael Bayne
2025-07-28 10:49:04 -07:00
parent 00be427d53
commit 381994bf47
+3 -3
View File
@@ -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'