diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5856777d1c5c..347b21d87d4d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -114,7 +114,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -142,10 +142,11 @@ jobs: - name: Upload Workspace if: ${{ (matrix.java == '11') && success() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build path: /tmp/build.tar.zst + compression-level: 0 retention-days: 2 if-no-files-found: error @@ -155,10 +156,11 @@ jobs: - name: Upload Dev Build if: ${{ matrix.java == '11' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dev-build path: nbbuild/NetBeans-*.zip + compression-level: 0 retention-days: 7 if-no-files-found: error @@ -177,7 +179,7 @@ jobs: show-progress: false - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: ${{ env.default_java_distribution }} java-version: 11 @@ -215,7 +217,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -227,7 +229,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -275,7 +277,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -308,7 +310,7 @@ jobs: - name: Download Build if: ${{ needs.base-build.result == 'success' && !cancelled() }} - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -340,13 +342,13 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -373,13 +375,13 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -408,13 +410,13 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -466,7 +468,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -477,7 +479,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -823,7 +825,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -834,7 +836,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -900,7 +902,7 @@ jobs: - name: Set up JDK 17 for JDK 21 incompatible tests if: ${{ matrix.java == '21' }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: ${{ env.default_java_distribution }} @@ -942,7 +944,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -953,7 +955,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -1075,7 +1077,7 @@ jobs: run: ant $OPTS -f platform/o.n.swing.tabcontrol test - name: Set up JDK 8 for incompatibe tests - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 8 distribution: ${{ env.default_java_distribution }} @@ -1123,13 +1125,13 @@ jobs: steps: - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 11 distribution: ${{ env.default_java_distribution }} - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -1140,7 +1142,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -1263,7 +1265,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -1274,7 +1276,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -1329,7 +1331,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -1340,7 +1342,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -1517,7 +1519,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -1528,7 +1530,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -1572,7 +1574,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -1583,7 +1585,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -1622,7 +1624,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -1633,7 +1635,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -1679,7 +1681,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -1690,7 +1692,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -1721,7 +1723,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -1732,7 +1734,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -1857,7 +1859,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -1868,7 +1870,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -1901,7 +1903,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -1912,7 +1914,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -1957,7 +1959,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -1968,7 +1970,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -2002,7 +2004,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -2013,7 +2015,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -2219,7 +2221,7 @@ jobs: run: ant $OPTS -f enterprise/websvc.wsstackapi test - name: Set up JDK 8 for incompatible tests - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 8 distribution: ${{ env.default_java_distribution }} @@ -2231,7 +2233,7 @@ jobs: run: ant $OPTS -f enterprise/j2ee.dd.webservice test - name: Set up JDK 17 for tests that are not compatible with JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: ${{ env.default_java_distribution }} @@ -2257,7 +2259,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -2268,7 +2270,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -2332,7 +2334,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -2343,7 +2345,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -2383,7 +2385,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -2404,7 +2406,7 @@ jobs: # - - - - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -2523,7 +2525,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -2534,7 +2536,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -2570,7 +2572,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build @@ -2628,7 +2630,7 @@ jobs: steps: - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: ${{ env.default_java_distribution }} @@ -2644,7 +2646,7 @@ jobs: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - name: Download Build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build diff --git a/.github/workflows/native-binary-build-dlight.nativeexecution.yml b/.github/workflows/native-binary-build-dlight.nativeexecution.yml index 19b89facf035..2afaa8726c0a 100644 --- a/.github/workflows/native-binary-build-dlight.nativeexecution.yml +++ b/.github/workflows/native-binary-build-dlight.nativeexecution.yml @@ -94,7 +94,7 @@ jobs: ls -l -R ${SOURCES} - name: Upload native sources - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: nativeexecution-external-sources path: ide/dlight.nativeexecution/build/sources/ @@ -110,7 +110,7 @@ jobs: steps: - name: Download sources - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: nativeexecution-external-sources @@ -126,7 +126,7 @@ jobs: working-directory: ide/dlight.nativeexecution/tools - name: Upload artifact Linux 64 bit - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Linux-x86_64 path: ide/dlight.nativeexecution/tools/buildall/ @@ -144,7 +144,7 @@ jobs: # steps: # # - name: Download sources -# uses: actions/download-artifact@v3 +# uses: actions/download-artifact@v4 # with: # name: nativeexecution-external-sources # @@ -158,7 +158,7 @@ jobs: # shell: bash # working-directory: ide/dlight.nativeexecution/tools # - name: Upload artifact Windows 64 bit -# uses: actions/upload-artifact@v3 +# uses: actions/upload-artifact@v4 # with: # name: Windows-x86_64 # path: ide/dlight.nativeexecution/tools/buildall/ @@ -174,7 +174,7 @@ jobs: steps: - name: Download sources - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: nativeexecution-external-sources @@ -188,7 +188,7 @@ jobs: working-directory: ide/dlight.nativeexecution/tools - name: Upload artifact macOS x86_64 - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: MacOSX-x86_64 path: ide/dlight.nativeexecution/tools/buildall/ @@ -203,7 +203,7 @@ jobs: steps: - name: Download sources - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: nativeexecution-external-sources @@ -217,7 +217,7 @@ jobs: working-directory: ide/dlight.nativeexecution/tools - name: Upload artifact macOS arm64 - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: MacOSX-arm_64 path: ide/dlight.nativeexecution/tools/buildall/ @@ -238,7 +238,7 @@ jobs: run: mkdir -p myfiles/ - name: Download artifacts from predecessor jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: myfiles/ @@ -267,7 +267,7 @@ jobs: echo "" >> "$BUILDINFO" - name: Upload bundle - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: nativeexecution-external-binaries path: myfiles/ diff --git a/.github/workflows/native-binary-build-launcher.yml b/.github/workflows/native-binary-build-launcher.yml index 2b4ea7b96eb9..c0bd965708dc 100644 --- a/.github/workflows/native-binary-build-launcher.yml +++ b/.github/workflows/native-binary-build-launcher.yml @@ -86,7 +86,7 @@ jobs: ls -l -R ${SOURCES} - name: Upload native sources - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: launcher-external-sources path: nbbuild/build/native/launcher/sources/ @@ -105,7 +105,7 @@ jobs: run: sudo apt install mingw-w64 mingw-w64-tools - name: Download sources - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: launcher-external-sources @@ -119,7 +119,7 @@ jobs: working-directory: platform/o.n.bootstrap/launcher/windows/ - name: Upload bootstrap artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: launcher-bootstrap-bin path: platform/o.n.bootstrap/launcher/windows/build/ @@ -135,7 +135,7 @@ jobs: working-directory: harness/apisupport.harness/windows-launcher-src - name: Upload harness artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: launcher-harness-bin path: harness/apisupport.harness/windows-launcher-src/build/ @@ -151,7 +151,7 @@ jobs: working-directory: nb/ide.launcher/windows - name: Upload IDE artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: launcher-ide-bin path: nb/ide.launcher/windows/build/ @@ -171,7 +171,7 @@ jobs: run: mkdir -p myfiles/ - name: Download artifacts from predecessor jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: myfiles/ @@ -203,7 +203,7 @@ jobs: echo "" >> "$BUILDINFO" - name: Upload bundle - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: launcher-external-binaries path: myfiles/ diff --git a/.github/workflows/native-binary-build-lib.profiler.yml b/.github/workflows/native-binary-build-lib.profiler.yml index d81bdf591ebc..3b7ba9223233 100644 --- a/.github/workflows/native-binary-build-lib.profiler.yml +++ b/.github/workflows/native-binary-build-lib.profiler.yml @@ -118,7 +118,7 @@ jobs: cp NOTICE ${SOURCES}/NOTICE ls -l -R ${SOURCES} - name: Upload native sources - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: profiler-external-sources-ASF path: profiler/lib.profiler/build/sources/ @@ -134,7 +134,7 @@ jobs: steps: - name: Download sources - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: profiler-external-sources-ASF @@ -171,13 +171,13 @@ jobs: # Upload interim build artifacts to GitHub # - name: Upload artifact Linux 64 bit - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: linux-amd64 path: profiler/lib.profiler/release/lib/deployed/jdk16/linux-amd64/ if-no-files-found: error - name: Upload artifact Linux 32 bit - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: linux path: profiler/lib.profiler/release/lib/deployed/jdk16/linux/ @@ -195,7 +195,7 @@ jobs: steps: - name: Download sources - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: profiler-external-sources-ASF @@ -246,13 +246,13 @@ jobs: # Upload interim build artifacts to GitHub # - name: Upload artifact Windows 64 bit - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows-amd64 path: profiler/lib.profiler/release/lib/deployed/jdk16/windows-amd64/ if-no-files-found: error - name: Upload artifact Windows 32 bit - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows path: profiler/lib.profiler/release/lib/deployed/jdk16/windows/ @@ -268,7 +268,7 @@ jobs: steps: - name: Download sources - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: profiler-external-sources-ASF @@ -292,7 +292,7 @@ jobs: # Upload interim build artifacts to GitHub # - name: Upload artifact MacOS 64 bit - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: mac path: profiler/lib.profiler/release/lib/deployed/jdk16/mac/ @@ -313,7 +313,7 @@ jobs: run: mkdir -p myfiles/lib/deployed/jdk16 - name: Download artifacts from predecessor jobs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: myfiles/lib/deployed/jdk16 @@ -343,7 +343,7 @@ jobs: - name: Upload bundle - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: profiler-external-binaries-ASF path: myfiles/