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:
767
767
run : echo "RELEASE_TAG=${GITHUB_REF#*refs/tags/}" >> $GITHUB_ENV
768
768
769
769
- name : Prepare the SDKs
770
+ shell : bash
770
771
run : |
771
- function prepareSDK() {
772
+ prepareSDK() {
772
773
distroSuffix="$1"
773
774
artifactId="$2"
774
775
artifactName="scala3-${{ env.RELEASE_TAG }}${distroSuffix}"
775
776
776
777
downloadedArchive="./artifact.zip"
777
- if [[ -f "${downloadedArchive}" ] ]; then
778
+ if [ -f "${downloadedArchive}" ]; then
778
779
rm "${downloadedArchive}"
779
780
fi
780
781
@@ -789,7 +790,7 @@ jobs:
789
790
790
791
# Repackage content of .zip to .tar.gz and prepare digest
791
792
tmpDir="./archive-tmp-dir"
792
- if [[ -d "${tmpDir}" ] ]; then
793
+ if [ -d "${tmpDir}" ]; then
793
794
rm -r "${tmpDir}"
794
795
fi
795
796
mkdir "${tmpDir}"
You can’t perform that action at this time.
0 commit comments