diff --git a/.github/workflows/ci-actions-incremental.yml b/.github/workflows/ci-actions-incremental.yml index 1ccfbd45daec6..5458e65990eb0 100644 --- a/.github/workflows/ci-actions-incremental.yml +++ b/.github/workflows/ci-actions-incremental.yml @@ -70,7 +70,7 @@ jobs: run: | echo -n ${{ github.event.number }} > pull-request-number - name: Upload pull request number - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pull-request-number-${{ github.event.number }} path: pull-request-number @@ -194,7 +194,7 @@ jobs: - name: Tar .m2/repository/io/quarkus run: tar -czf m2-io-quarkus.tgz -C ~ .m2/repository/io/quarkus - name: Upload .m2/repository/io/quarkus - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: m2-io-quarkus path: m2-io-quarkus.tgz @@ -202,7 +202,7 @@ jobs: - name: Delete snapshots artifacts from cache run: find ~/.m2 -name \*-SNAPSHOT -type d -exec rm -rf {} + - name: Upload build reports (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-reports-Initial JDK 17 Build" @@ -375,14 +375,14 @@ jobs: if: failure() run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: test-reports-jvm${{matrix.java.name}} path: 'test-reports.tgz' retention-days: 7 - name: Upload build reports (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-reports-JVM Tests - JDK ${{matrix.java.name}}" @@ -393,7 +393,7 @@ jobs: LICENSE.txt retention-days: 7 - name: Upload build.log (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-logs-JVM Tests - JDK ${{matrix.java.name}}" @@ -472,7 +472,7 @@ jobs: if: failure() run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: test-reports-maven-java${{matrix.java.name}} @@ -486,7 +486,7 @@ jobs: if [ -d 'integration-tests/maven/target/test-classes/projects/qit?legacy?jar' ]; then mv 'integration-tests/maven/target/test-classes/projects/qit?legacy?jar' 'integration-tests/maven/target/test-classes/projects/qit--legacy--jar'; fi if [ -d 'integration-tests/maven/target/test-classes/projects/qit?uber?jar' ]; then mv 'integration-tests/maven/target/test-classes/projects/qit?uber?jar' 'integration-tests/maven/target/test-classes/projects/qit--uber--jar'; fi - name: Upload build reports (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-reports-Maven Tests - JDK ${{matrix.java.name}}" @@ -565,7 +565,7 @@ jobs: # Important: keep -pl ... in sync with "Calculate run flags"! run: ./mvnw $COMMON_MAVEN_ARGS $JVM_TEST_MAVEN_ARGS clean install -pl integration-tests/gradle - name: Upload build reports (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-reports-Gradle Tests - JDK ${{matrix.java.name}}" @@ -645,14 +645,14 @@ jobs: if: failure() run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: test-reports-devtools-java${{matrix.java.name}} path: 'test-reports.tgz' retention-days: 7 - name: Upload build reports (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-reports-Devtools Tests - JDK ${{matrix.java.name}}" @@ -731,14 +731,14 @@ jobs: if: failure() run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: test-reports-kubernetes-java${{matrix.java.name}} path: 'test-reports.tgz' retention-days: 7 - name: Upload build reports (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-reports-Kubernetes Tests - JDK ${{matrix.java.name}}" @@ -803,7 +803,7 @@ jobs: git checkout development export LANG=en_US && ./mvnw -e -B -fae --settings .github/mvn-settings.xml clean verify -DskipTests - name: Upload build reports (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-reports-Quickstarts Compilation - JDK ${{matrix.java.name}}" @@ -869,7 +869,7 @@ jobs: run: | export LANG=en_US && ./mvnw $COMMON_MAVEN_ARGS -f integration-tests/virtual-threads -pl "$TEST_MODULES" $NATIVE_TEST_MAVEN_ARGS -Dextra-args=--enable-preview -Dquarkus.native.container-build=true - name: Upload build reports (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-reports-Virtual Thread Support Tests Native - ${{matrix.category}}" @@ -936,14 +936,14 @@ jobs: if: failure() run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: test-reports-tcks path: 'test-reports.tgz' retention-days: 7 - name: Upload build reports (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-reports-MicroProfile TCKs Tests" @@ -1034,14 +1034,14 @@ jobs: if: failure() run: find . -type d -name '*-reports' -o -wholename '*/build/reports/tests/functionalTest' -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: test-reports-native-${{matrix.category}} path: 'test-reports.tgz' retention-days: 7 - name: Upload build reports (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-reports-Native Tests - ${{matrix.category}}" diff --git a/.github/workflows/ci-istio.yml b/.github/workflows/ci-istio.yml index 8fc760b6d499e..1a4f906827297 100644 --- a/.github/workflows/ci-istio.yml +++ b/.github/workflows/ci-istio.yml @@ -26,7 +26,7 @@ jobs: shell: bash run: tar -I 'pigz -9' -cf maven-repo.tgz -C ~ .m2/repository - name: Persist Maven repository - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: maven-repo path: maven-repo.tgz diff --git a/.github/workflows/ci-kubernetes.yml b/.github/workflows/ci-kubernetes.yml index 68caaeb5069cd..40012264286d4 100644 --- a/.github/workflows/ci-kubernetes.yml +++ b/.github/workflows/ci-kubernetes.yml @@ -26,7 +26,7 @@ jobs: shell: bash run: tar -I 'pigz -9' -cf maven-repo.tgz -C ~ .m2/repository - name: Persist Maven repository - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: maven-repo path: maven-repo.tgz diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index 80e6c455edb4e..768384f0ea3ce 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -70,7 +70,7 @@ jobs: run: echo ${{ github.event.number }} > pr-id.txt - name: Persist documentation - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: documentation path: | diff --git a/.github/workflows/jdk-early-access-build.yml b/.github/workflows/jdk-early-access-build.yml index 658d9c0d16b93..a399430a4434f 100644 --- a/.github/workflows/jdk-early-access-build.yml +++ b/.github/workflows/jdk-early-access-build.yml @@ -117,7 +117,7 @@ jobs: shell: bash run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: test-reports-linux-jvm${{ matrix.version }} diff --git a/.github/workflows/owasp-check.yml b/.github/workflows/owasp-check.yml index a03900952b881..87af61bffc1d4 100644 --- a/.github/workflows/owasp-check.yml +++ b/.github/workflows/owasp-check.yml @@ -33,7 +33,7 @@ jobs: - name: Perform OWASP Dependency Check Report run: ./mvnw -Dowasp-report - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dependency-check-report path: target/dependency-check-report.html diff --git a/.github/workflows/podman-build.yml b/.github/workflows/podman-build.yml index d781457c77fa4..01291d3c480c8 100644 --- a/.github/workflows/podman-build.yml +++ b/.github/workflows/podman-build.yml @@ -162,14 +162,14 @@ jobs: shell: bash run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: test-reports-jvm${{matrix.java.name}} path: 'test-reports.tgz' retention-days: 5 - name: Upload build reports (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-reports-JVM Tests - JDK ${{matrix.java.name}}" @@ -179,7 +179,7 @@ jobs: LICENSE.txt retention-days: 2 - name: Upload gc.log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "GC log - JDK ${{matrix.java.name}}" path: | @@ -187,7 +187,7 @@ jobs: !**/build/tmp/** retention-days: 5 - name: Upload build.log (if build failed) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: "build-logs-JVM Tests - JDK ${{matrix.java.name}}"