diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f7366eb..d0eb5a7b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,7 @@ jobs: ./gradlew build --info --warning-mode=summary -PskipFlakyTests=true -PjavaVersion=${{ matrix.java }} - name: Archive executable JAR - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 if: ${{ env.DEFAULT_JAVA == matrix.java && env.DEFAULT_OS == matrix.os }} with: name: executable-jar @@ -64,7 +64,7 @@ jobs: if-no-files-found: error - name: Archive test reports for ${{ matrix.os }} using Java ${{ matrix.java }} - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 if: ${{ always() }} with: name: test-reports-${{ matrix.os }}-java-${{ matrix.java }} @@ -86,7 +86,7 @@ jobs: ./gradlew jpackage --info --warning-mode=summary -PjavaVersion=${{ matrix.java }} - name: Archive native package for ${{ runner.os }} - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 if: ${{ env.DEFAULT_JAVA == matrix.java }} with: name: packages-${{ runner.os }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a68ccfb5..50e07f51 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: run: ./gradlew build jpackage --info --warning-mode all -PskipFlakyTests=true - name: Archive executable JAR - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 if: ${{ env.DEFAULT_OS == matrix.os }} with: name: executable-jar @@ -56,7 +56,7 @@ jobs: product/build/libs-checksums/* - name: Archive native package for ${{ runner.os }} - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: native-package-${{ runner.os }} retention-days: 5