File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -767,14 +767,15 @@ jobs:
767767 run : echo "RELEASE_TAG=${GITHUB_REF#*refs/tags/}" >> $GITHUB_ENV
768768
769769 - name : Prepare the SDKs
770+ shell : bash
770771 run : |
771- function prepareSDK() {
772+ prepareSDK() {
772773 distroSuffix="$1"
773774 artifactId="$2"
774775 artifactName="scala3-${{ env.RELEASE_TAG }}${distroSuffix}"
775776
776777 downloadedArchive="./artifact.zip"
777- if [[ -f "${downloadedArchive}" ] ]; then
778+ if [ -f "${downloadedArchive}" ]; then
778779 rm "${downloadedArchive}"
779780 fi
780781
@@ -789,7 +790,7 @@ jobs:
789790
790791 # Repackage content of .zip to .tar.gz and prepare digest
791792 tmpDir="./archive-tmp-dir"
792- if [[ -d "${tmpDir}" ] ]; then
793+ if [ -d "${tmpDir}" ]; then
793794 rm -r "${tmpDir}"
794795 fi
795796 mkdir "${tmpDir}"
You can’t perform that action at this time.
0 commit comments