From 15254b2c40311826bb326b9ffe8735417a5a9e44 Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Wed, 6 Nov 2024 18:24:23 +0100 Subject: [PATCH] Disable automatic release in `publish_release` (#21873) Releases of stable versions now require manual approval on https://oss.sonatype.org/ by release officer. Difference between `sonatypeBundleRelease` and `sonatypeBundleUpload` is described [here](https://github.com/xerial/sbt-sonatype?tab=readme-ov-file#commands) [skip ci] --------- Co-authored-by: Hamza Remmal [Cherry-picked c63cfde48f71af8217b7ab4e6a4ac9463b71a5f7][modified] --- .github/workflows/ci.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fda1763c325a..cd0f0f627bf9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1089,7 +1089,7 @@ jobs: asset_content_type: text/plain - name: Publish Release - run: ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleRelease" + run: ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleUpload" open_issue_on_failure: @@ -1115,7 +1115,15 @@ jobs: build-msi-package: uses: ./.github/workflows/build-msi.yml if : github.event_name == 'pull_request' && contains(github.event.pull_request.body, '[test_msi]') - # TODO: ADD A JOB THAT DEPENDS ON THIS TO TEST THE MSI + + test-msi-package: + uses: ./.github/workflows/test-msi.yml + needs: [build-msi-package] + with: + # Ensure that version starts with prefix 3. + # In the future it can be adapted to compare with with git tag or version set in the project/Build.scala + version: "3." + java-version: 8 build-sdk-package: uses: ./.github/workflows/build-sdk.yml