We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d73efe3 commit eed30c3Copy full SHA for eed30c3
.github/workflows/ci.yaml
@@ -767,14 +767,15 @@ jobs:
767
run : echo "RELEASE_TAG=${GITHUB_REF#*refs/tags/}" >> $GITHUB_ENV
768
769
- name: Prepare the SDKs
770
+ shell: bash
771
run : |
- function prepareSDK() {
772
+ prepareSDK() {
773
distroSuffix="$1"
774
artifactId="$2"
775
artifactName="scala3-${{ env.RELEASE_TAG }}${distroSuffix}"
776
777
downloadedArchive="./artifact.zip"
- if [[ -f "${downloadedArchive}" ]]; then
778
+ if [ -f "${downloadedArchive}" ]; then
779
rm "${downloadedArchive}"
780
fi
781
@@ -789,7 +790,7 @@ jobs:
789
790
791
# Repackage content of .zip to .tar.gz and prepare digest
792
tmpDir="./archive-tmp-dir"
- if [[ -d "${tmpDir}" ]]; then
793
+ if [ -d "${tmpDir}" ]; then
794
rm -r "${tmpDir}"
795
796
mkdir "${tmpDir}"
0 commit comments