File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99
99
- name : Prepare Destination Device Name
100
100
shell : bash
101
101
run : |
102
- DESTNAME=$(xcodebuild -showdestinations -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" | perl -nle 'if (m/tvOS\sSimulator.*(Apple\sTV\s4k .*)\s\}\.*/g) { print $1; }' | sort -r | head -n 1)
102
+ DESTNAME=$(xcodebuild -showdestinations -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" | perl -nle 'if (m/tvOS\sSimulator.*(Apple\sTV\s4K .*)\s\}\.*/g) { print $1; }' | sort -r | head -n 1)
103
103
echo Using device \"$DESTNAME\"
104
104
echo "DESTNAME=$DESTNAME" >> "$GITHUB_ENV"
105
105
- name : Unit Tests
@@ -118,7 +118,7 @@ jobs:
118
118
- name : Prepare Destination Device Name
119
119
shell : bash
120
120
run : |
121
- DESTNAME=$(xcodebuild -showdestinations -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" | perl -nle 'if (m/watchOS\sSimulator.*(Apple\sWatch\sseries \s[\d]{2}.*)\s\}\.*/g) { print $1; }' | sort -r | head -n 1)
121
+ DESTNAME=$(xcodebuild -showdestinations -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" | perl -nle 'if (m/watchOS\sSimulator.*(Apple\sWatch\sSeries \s[\d]{2}.*)\s\}\.*/g) { print $1; }' | sort -r | head -n 1)
122
122
echo Using device \"$DESTNAME\"
123
123
echo "DESTNAME=$DESTNAME" >> "$GITHUB_ENV"
124
124
- name : Unit Tests
You can’t perform that action at this time.
0 commit comments