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() {
22
22
fi
23
23
if [ -z " $os_re " ]; then
24
24
os=$( echo ${os:- $(uname -s)} | tr A-Z a-z)
25
- case $os in
25
+ case " $os " in
26
26
darwin)
27
27
os_re=' [Dd]arwin|[Mm][Aa][Cc][Oo][Ss]'
28
28
;;
@@ -36,7 +36,7 @@ find_artifact() {
36
36
fi
37
37
if [ -z " $arch_re " ]; then
38
38
arch=$( echo ${arch:- $(uname -m)} | tr A-Z a-z)
39
- case $arch in
39
+ case " $arch " in
40
40
arm64|aarch64)
41
41
arch_re=' [Aa]rm64|[Aa]arch64' ;;
42
42
amd64|x86_64)
@@ -186,7 +186,7 @@ move_and_cleanup_selected_file() {
186
186
187
187
maybe_work_in_scratch_area () {
188
188
if [ -n " $selected_file " ]; then
189
- cd $( mktemp -d)
189
+ cd " $( mktemp -d) "
190
190
fi
191
191
}
192
192
@@ -219,7 +219,7 @@ maybe_extract_artifact() {
219
219
if [ -n " $destination " ] && [ -f " $destination " ]; then
220
220
chmod +x " $destination "
221
221
if [ -n " $add_to_path " ]; then
222
- realpath $( dirname " $destination " ) >> " $GITHUB_PATH "
222
+ realpath " $( dirname " $destination " ) " >> " $GITHUB_PATH "
223
223
fi
224
224
fi
225
225
}
You can’t perform that action at this time.
0 commit comments