Skip to content

Commit 1b99f21

Browse files
committed
Testing
1 parent ea82c94 commit 1b99f21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/macos-update-clang/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ runs:
44
steps:
55
- shell: bash
66
run: |
7+
set -x
78
softwareupdate -l
8-
label=$(softwareupdate -l 2>/dev/null | grep 'Label:' | grep -o 'Command Line Tools for Xcode.*' | head -1)
9+
label=$((softwareupdate -l 2>/dev/null | grep 'Label:' | grep -o 'Command Line Tools for Xcode.*' | head -1) || echo '')
910
if [ -n "$label" ]; then
1011
softwareupdate -i "$label"
1112
xcode_path=$(ls -1 '/Applications' | grep 'Xcode_.*\.app' | head -1)

0 commit comments

Comments
 (0)