diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d5e44bd21..50d85accac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: - name: Copy bootstrapped launcher run: ./mill -i copyJvmBootstrappedLauncher artifacts/ if: runner.os == 'Linux' - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: runner.os == 'Linux' with: name: launchers @@ -45,7 +45,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc unit-tests 'Scala CLI Unit Tests' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-unit-tests @@ -73,7 +73,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc jvm-tests-1 'Scala CLI JVM Tests (1)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-jvm-tests-1 @@ -98,7 +98,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc jvm-tests-2 'Scala CLI JVM Tests (2)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-jvm-tests-2 @@ -123,7 +123,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc jvm-tests-3 'Scala CLI JVM Tests (3)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-jvm-tests-3 @@ -148,7 +148,7 @@ jobs: run: .github/scripts/generate-os-packages.sh - name: Copy artifacts run: ./mill -i copyDefaultLauncher artifacts/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: linux-launchers path: artifacts/ @@ -167,7 +167,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: linux-launchers path: artifacts/ @@ -182,7 +182,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc linux-tests-1 'Scala CLI Linux Tests (1)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-linux-tests-1 @@ -200,7 +200,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: linux-launchers path: artifacts/ @@ -215,7 +215,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc linux-tests-2 'Scala CLI Linux Tests (2)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-linux-tests-2 @@ -233,7 +233,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: linux-launchers path: artifacts/ @@ -248,7 +248,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc linux-tests-3 'Scala CLI Linux Tests (3)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-linux-tests-3 @@ -270,7 +270,7 @@ jobs: env: DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: linux-aarch64-launchers path: artifacts/ @@ -296,7 +296,7 @@ jobs: run: .github/scripts/generate-os-packages.sh - name: Copy artifacts run: ./mill -i copyDefaultLauncher artifacts/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: macos-launchers path: artifacts/ @@ -315,7 +315,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: macos-launchers path: artifacts/ @@ -330,7 +330,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc macos-tests-1 'Scala CLI MacOS Tests (1)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-macos-tests-1 @@ -348,7 +348,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: macos-launchers path: artifacts/ @@ -363,7 +363,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc macos-tests-2 'Scala CLI MacOS Tests (2)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-macos-tests-2 @@ -381,7 +381,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: macos-launchers path: artifacts/ @@ -396,7 +396,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc macos-tests-3 'Scala CLI MacOS Tests (3)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-macos-tests-3 @@ -423,7 +423,7 @@ jobs: run: .github/scripts/generate-os-packages.sh - name: Copy artifacts run: ./mill -i copyDefaultLauncher artifacts/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: macos-m1-launchers path: artifacts/ @@ -445,7 +445,7 @@ jobs: COURSIER_BIN_DIR: ${{ github.workspace }}/cs/bin # necessary for our M1 runner setup with: jvm: "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.2.0/graalvm-ce-java17-darwin-aarch64-22.2.0.tar.gz" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: macos-m1-launchers path: artifacts/ @@ -459,7 +459,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc macos-m1-tests 'Scala CLI MacOS M1 Tests' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-macos-m1-tests @@ -489,7 +489,7 @@ jobs: shell: bash - name: Copy artifacts run: ./mill -i copyDefaultLauncher artifacts/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: windows-launchers path: artifacts/ @@ -515,7 +515,7 @@ jobs: - name: Get latest coursier launcher run: .github/scripts/get-latest-cs.sh shell: bash - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: windows-launchers path: artifacts/ @@ -531,7 +531,7 @@ jobs: if: success() || failure() run: scala-cli shebang .github/scripts/generate-junit-reports.sc windows-tests-1 'Scala CLI Windows Tests (1)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-windows-tests-1 @@ -556,7 +556,7 @@ jobs: - name: Get latest coursier launcher run: .github/scripts/get-latest-cs.sh shell: bash - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: windows-launchers path: artifacts/ @@ -572,7 +572,7 @@ jobs: if: success() || failure() run: scala-cli shebang .github/scripts/generate-junit-reports.sc windows-tests-2 'Scala CLI Windows Tests (2)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-windows-tests-2 @@ -597,7 +597,7 @@ jobs: - name: Get latest coursier launcher run: .github/scripts/get-latest-cs.sh shell: bash - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: windows-launchers path: artifacts/ @@ -613,7 +613,7 @@ jobs: if: success() || failure() run: scala-cli shebang .github/scripts/generate-junit-reports.sc windows-tests-3 'Scala CLI Windows Tests (3)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-windows-tests-3 @@ -635,7 +635,7 @@ jobs: shell: bash - name: Copy artifacts run: ./mill -i copyMostlyStaticLauncher artifacts/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: mostly-static-launchers path: artifacts/ @@ -654,7 +654,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: mostly-static-launchers path: artifacts/ @@ -674,7 +674,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc native-mostly-static-tests-1 'Scala CLI Native Mostly Static Tests (1)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-native-mostly-static-tests-1 @@ -701,7 +701,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: mostly-static-launchers path: artifacts/ @@ -716,7 +716,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc native-mostly-static-tests-2 'Scala CLI Native Mostly Static Tests (2)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-native-mostly-static-tests-2 @@ -734,7 +734,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: mostly-static-launchers path: artifacts/ @@ -749,7 +749,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc native-mostly-static-tests-3 'Scala CLI Native Mostly Static Tests (3)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-native-mostly-static-tests-3 @@ -771,7 +771,7 @@ jobs: shell: bash - name: Copy artifacts run: ./mill -i copyStaticLauncher artifacts/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: static-launchers path: artifacts/ @@ -790,7 +790,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: static-launchers path: artifacts/ @@ -810,7 +810,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc native-static-tests-1 'Scala CLI Native Static Tests (1)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-native-static-tests-1 @@ -837,7 +837,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: static-launchers path: artifacts/ @@ -854,7 +854,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc native-static-tests-2 'Scala CLI Native Static Tests (2)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-native-static-tests-2 @@ -872,7 +872,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: static-launchers path: artifacts/ @@ -889,7 +889,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc native-static-tests-3 'Scala CLI Native Static Tests (3)' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-native-static-tests-3 @@ -917,7 +917,7 @@ jobs: if: success() || failure() run: .github/scripts/generate-junit-reports.sc docs-tests 'Scala CLI Docs Tests' test-report.xml out/ - name: Upload test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-docs-tests @@ -1031,7 +1031,7 @@ jobs: with: jvm: "temurin:17" - run: ./mill -i ci.copyVcRedist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: launchers path: artifacts/ @@ -1114,42 +1114,42 @@ jobs: with: jvm: "temurin:17" - run: ./mill -i ci.setShouldPublish - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: env.SHOULD_PUBLISH == 'true' with: name: linux-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: env.SHOULD_PUBLISH == 'true' with: name: linux-aarch64-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: env.SHOULD_PUBLISH == 'true' with: name: macos-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: env.SHOULD_PUBLISH == 'true' with: name: macos-m1-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: env.SHOULD_PUBLISH == 'true' with: name: windows-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: env.SHOULD_PUBLISH == 'true' with: name: mostly-static-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: env.SHOULD_PUBLISH == 'true' with: name: static-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: env.SHOULD_PUBLISH == 'true' with: name: launchers @@ -1172,35 +1172,35 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: linux-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: linux-aarch64-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: macos-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: macos-m1-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: windows-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: mostly-static-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: static-launchers path: artifacts/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: launchers path: artifacts/ @@ -1255,7 +1255,7 @@ jobs: - uses: VirtusLab/scala-cli-setup@5b1a6c5ca98b5642996812781f6ad9b2d5935f85 with: jvm: "temurin:17" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: windows-launchers path: artifacts/