Skip to content

Commit 40f45a6

Browse files
dependabot[bot]tgodzik
authored andcommitted
Bump actions/download-artifact from 5 to 6
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v5...v6) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent 42f972d commit 40f45a6

File tree

3 files changed

+43
-2
lines changed

3 files changed

+43
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,47 @@ jobs:
715715
exit 1
716716
fi
717717
718+
<<<<<<< backport-lts-3.3-24271
719+
=======
720+
- name: Prepare the SDKs
721+
shell: bash
722+
run : |
723+
prepareSDK() {
724+
distroSuffix="$1"
725+
sbtProject="$2"
726+
distDir="$3"
727+
728+
# Build binaries
729+
./project/scripts/sbt "all ${sbtProject}/Universal/packageBin ${sbtProject}/Universal/packageZipTarball"
730+
731+
artifactName="scala3-${{ env.RELEASE_TAG }}${distroSuffix}"
732+
733+
# Caluclate SHA for each of archive files
734+
for file in "${artifactName}.zip" "${artifactName}.tar.gz"; do
735+
mv ${distDir}/target/universal/$file $file
736+
sha256sum "${file}" > "${file}.sha256"
737+
done
738+
}
739+
prepareSDK "" "dist" "./dist/"
740+
prepareSDK "-aarch64-pc-linux" "dist-linux-aarch64" "./dist/linux-aarch64/"
741+
prepareSDK "-x86_64-pc-linux" "dist-linux-x86_64" "./dist/linux-x86_64/"
742+
prepareSDK "-aarch64-apple-darwin" "dist-mac-aarch64" "./dist/mac-aarch64/"
743+
prepareSDK "-x86_64-apple-darwin" "dist-mac-x86_64" "./dist/mac-x86_64/"
744+
prepareSDK "-x86_64-pc-win32" "dist-win-x86_64" "./dist/win-x86_64/"
745+
746+
- name: Download MSI package
747+
uses: actions/download-artifact@v6
748+
with:
749+
name: scala.msi
750+
path: .
751+
- name: Prepare MSI package
752+
shell: bash
753+
run: |
754+
msiInstaller="scala3-${{ env.RELEASE_TAG }}.msi"
755+
mv scala.msi "${msiInstaller}"
756+
sha256sum "${msiInstaller}" > "${msiInstaller}.sha256"
757+
758+
>>>>>>> d7ff7de Bump actions/download-artifact from 5 to 6
718759
- name: Install GH CLI
719760
uses: dev-hanz-ops/install-gh-cli-action@v0.2.1
720761
with:

.github/workflows/publish-chocolatey.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: windows-latest
3232
steps:
3333
- name: Fetch the Chocolatey package from GitHub
34-
uses: actions/download-artifact@v5
34+
uses: actions/download-artifact@v6
3535
with:
3636
name: scala.nupkg
3737
- name: Publish the package to Chocolatey

.github/workflows/test-chocolatey.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
distribution: temurin
3636
java-version: ${{ inputs.java-version }}
3737
- name: Download the 'nupkg' from GitHub Artifacts
38-
uses: actions/download-artifact@v5
38+
uses: actions/download-artifact@v6
3939
with:
4040
name: scala.nupkg
4141
path: ${{ env.CHOCOLATEY-REPOSITORY }}

0 commit comments

Comments
 (0)