File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ find_artifact() {
2222 fi
2323 if [ -z " $os_re " ]; then
2424 os=$( echo ${os:- $(uname -s)} | tr A-Z a-z)
25- case $os in
25+ case " $os " in
2626 darwin)
2727 os_re=' [Dd]arwin|[Mm][Aa][Cc][Oo][Ss]'
2828 ;;
@@ -36,7 +36,7 @@ find_artifact() {
3636 fi
3737 if [ -z " $arch_re " ]; then
3838 arch=$( echo ${arch:- $(uname -m)} | tr A-Z a-z)
39- case $arch in
39+ case " $arch " in
4040 arm64|aarch64)
4141 arch_re=' [Aa]rm64|[Aa]arch64' ;;
4242 amd64|x86_64)
@@ -186,7 +186,7 @@ move_and_cleanup_selected_file() {
186186
187187maybe_work_in_scratch_area () {
188188 if [ -n " $selected_file " ]; then
189- cd $( mktemp -d)
189+ cd " $( mktemp -d) "
190190 fi
191191}
192192
@@ -219,7 +219,7 @@ maybe_extract_artifact() {
219219 if [ -n " $destination " ] && [ -f " $destination " ]; then
220220 chmod +x " $destination "
221221 if [ -n " $add_to_path " ]; then
222- realpath $( dirname " $destination " ) >> " $GITHUB_PATH "
222+ realpath " $( dirname " $destination " ) " >> " $GITHUB_PATH "
223223 fi
224224 fi
225225}
You can’t perform that action at this time.
0 commit comments