Skip to content

Commit 21b6c3d

Browse files
committed
Updated GitHub CI
1 parent 222986c commit 21b6c3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
- name: Prepare Destination Device Name
100100
shell: bash
101101
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)
103103
echo Using device \"$DESTNAME\"
104104
echo "DESTNAME=$DESTNAME" >> "$GITHUB_ENV"
105105
- name: Unit Tests
@@ -118,7 +118,7 @@ jobs:
118118
- name: Prepare Destination Device Name
119119
shell: bash
120120
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)
122122
echo Using device \"$DESTNAME\"
123123
echo "DESTNAME=$DESTNAME" >> "$GITHUB_ENV"
124124
- name: Unit Tests

0 commit comments

Comments
 (0)