From a5a3658bcb29d2bb3d768f1dbcc2567a0c325133 Mon Sep 17 00:00:00 2001 From: Hamza Remmal Date: Wed, 19 Jun 2024 15:21:30 +0100 Subject: [PATCH 1/3] Release .zip instead of .tar.gz for windows in sdkman --- .github/workflows/publish-sdkman.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-sdkman.yml b/.github/workflows/publish-sdkman.yml index 2126a3237d83..02e00bcbf03d 100644 --- a/.github/workflows/publish-sdkman.yml +++ b/.github/workflows/publish-sdkman.yml @@ -44,7 +44,7 @@ jobs: - platform: MAC_ARM64 archive : 'scala3-${{ inputs.version }}-aarch64-apple-darwin.tar.gz' - platform: WINDOWS_64 - archive : 'scala3-${{ inputs.version }}-x86_64-pc-win32.tar.gz' + archive : 'scala3-${{ inputs.version }}-x86_64-pc-win32.zip' - platform: UNIVERSAL archive : 'scala3-${{ inputs.version }}.zip' steps: From 8094196242acfb2c605ec88085669e48698974dd Mon Sep 17 00:00:00 2001 From: Hamza Remmal Date: Wed, 19 Jun 2024 16:49:31 +0100 Subject: [PATCH 2/3] Do not release to the UNIVERSAL platform in sdkman --- .github/workflows/publish-sdkman.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/publish-sdkman.yml b/.github/workflows/publish-sdkman.yml index 02e00bcbf03d..d4238b9371e4 100644 --- a/.github/workflows/publish-sdkman.yml +++ b/.github/workflows/publish-sdkman.yml @@ -45,8 +45,6 @@ jobs: archive : 'scala3-${{ inputs.version }}-aarch64-apple-darwin.tar.gz' - platform: WINDOWS_64 archive : 'scala3-${{ inputs.version }}-x86_64-pc-win32.zip' - - platform: UNIVERSAL - archive : 'scala3-${{ inputs.version }}.zip' steps: - uses: hamzaremmal/sdkman-release-action@7e437233a6bd79bc4cb0fa9071b685e94bdfdba6 with: From bb9128867bce05f4741d993c8717b78e21042c97 Mon Sep 17 00:00:00 2001 From: Hamza Remmal Date: Fri, 21 Jun 2024 11:12:34 +0100 Subject: [PATCH 3/3] Upload zip files to sdkman instead of .tar.gz --- .github/workflows/publish-sdkman.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-sdkman.yml b/.github/workflows/publish-sdkman.yml index d4238b9371e4..de12f81426b5 100644 --- a/.github/workflows/publish-sdkman.yml +++ b/.github/workflows/publish-sdkman.yml @@ -36,13 +36,13 @@ jobs: matrix: include: - platform: LINUX_64 - archive : 'scala3-${{ inputs.version }}-x86_64-pc-linux.tar.gz' + archive : 'scala3-${{ inputs.version }}-x86_64-pc-linux.zip' - platform: LINUX_ARM64 - archive : 'scala3-${{ inputs.version }}-aarch64-pc-linux.tar.gz' + archive : 'scala3-${{ inputs.version }}-aarch64-pc-linux.zip' - platform: MAC_OSX - archive : 'scala3-${{ inputs.version }}-x86_64-apple-darwin.tar.gz' + archive : 'scala3-${{ inputs.version }}-x86_64-apple-darwin.zip' - platform: MAC_ARM64 - archive : 'scala3-${{ inputs.version }}-aarch64-apple-darwin.tar.gz' + archive : 'scala3-${{ inputs.version }}-aarch64-apple-darwin.zip' - platform: WINDOWS_64 archive : 'scala3-${{ inputs.version }}-x86_64-pc-win32.zip' steps: