File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66
66
shell : bash
67
67
run : |
68
68
DESTNAME=$(xcodebuild -showdestinations -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" | perl -nle 'if (m/iOS\sSimulator.*(iPhone.*)\s\}\.*/g) { print $1; }' | head -n 1)
69
- echo Using device \"$destName \"
69
+ echo Using device \"$DESTNAME \"
70
70
echo "DESTNAME=$DESTNAME" >> "$GITHUB_ENV"
71
71
- name : Unit Tests
72
72
run : xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "platform=iOS Simulator,name=$DESTNAME" | xcpretty && exit ${PIPESTATUS[0]}
85
85
shell : bash
86
86
run : |
87
87
DESTNAME=$(xcodebuild -showdestinations -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" | perl -nle 'if (m/tvOS\sSimulator.*(Apple\sTV.*)\s\}\.*/g) { print $1; }' | head -n 1)
88
- echo Using device \"$destName \"
88
+ echo Using device \"$DESTNAME \"
89
89
echo "DESTNAME=$DESTNAME" >> "$GITHUB_ENV"
90
90
- name : Unit Tests
91
91
run : xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "platform=tvOS Simulator,name=$DESTNAME" | xcpretty && exit ${PIPESTATUS[0]}
@@ -104,7 +104,7 @@ jobs:
104
104
shell : bash
105
105
run : |
106
106
DESTNAME=$(xcodebuild -showdestinations -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" | perl -nle 'if (m/watchOS\sSimulator.*(Apple\sWatch.*)\s\}\.*/g) { print $1; }' | head -n 1)
107
- echo Using device \"$destName \"
107
+ echo Using device \"$DESTNAME \"
108
108
echo "DESTNAME=$DESTNAME" >> "$GITHUB_ENV"
109
109
- name : Unit Tests
110
110
run : xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "platform=watchOS Simulator,name=$DESTNAME" | xcpretty && exit ${PIPESTATUS[0]}
You can’t perform that action at this time.
0 commit comments