|
7 | 7 | # - INPUT_OSVERSION optional |
8 | 8 |
|
9 | 9 | # Step outputs produced: |
10 | | -# - parsed-workspace-path Relative path to .xcworkspace file from repo root |
11 | | -# - parsed-scheme Xcode scheme name |
| 10 | +# - parsed-device-regex Device name regex used when parsing simulator list output from `xcodebuild -showdestinations` |
| 11 | +# - parsed-os-version-regex OS version regex used when parsing simulator list output from `xcodebuild -showdestinations` (Optional) |
12 | 12 | # - parsed-platform Platform string (ie: "iOS Simulator") which can be used verbatim in `xcodebuild destination="platform=X"` in place of X |
13 | 13 | # - parsed-platform-short Platform short name (ie: "iOS") |
14 | | -# - parsed-platform-regex Platform name regex used when parsing simulator list output from `xcodebuild -showdestinations`` |
15 | | -# - parsed-device-regex |
16 | | -# - parsed-os-version-regex |
| 14 | +# - parsed-platform-regex Platform name regex used when parsing simulator list output from `xcodebuild -showdestinations` |
| 15 | +# - parsed-scheme Xcode scheme name |
| 16 | +# - parsed-workspace-path Relative path to .xcworkspace file from repo root |
17 | 17 |
|
18 | 18 | # Setup workspace path. |
19 | 19 | if [[ -z $INPUT_WORKSPACEPATH ]]; then |
@@ -200,10 +200,10 @@ echo "Using platform name regex: $SIMPLATFORM_REGEX" |
200 | 200 | echo "Using device name regex: $SIMDEVICE_REGEX" |
201 | 201 |
|
202 | 202 | # Set output variables. |
203 | | -echo "parsed-workspace-path=$(echo $WORKSPACEPATH)" >> $GITHUB_OUTPUT |
204 | | -echo "parsed-scheme=$(echo $SCHEME)" >> $GITHUB_OUTPUT |
| 203 | +echo "parsed-device-regex=$(echo $SIMDEVICE_REGEX)" >> $GITHUB_OUTPUT |
| 204 | +echo "parsed-os-version-regex=$(echo $OSVERSION_REGEX)" >> $GITHUB_OUTPUT |
205 | 205 | echo "parsed-platform=$(echo $SIMPLATFORM)" >> $GITHUB_OUTPUT |
206 | 206 | echo "parsed-platform-short=$(echo $SIMPLATFORM_SHORT)" >> $GITHUB_OUTPUT |
207 | 207 | echo "parsed-platform-regex=$(echo $SIMPLATFORM_REGEX)" >> $GITHUB_OUTPUT |
208 | | -echo "parsed-device-regex=$(echo $SIMDEVICE_REGEX)" >> $GITHUB_OUTPUT |
209 | | -echo "parsed-os-version-regex=$(echo $OSVERSION_REGEX)" >> $GITHUB_OUTPUT |
| 208 | +echo "parsed-scheme=$(echo $SCHEME)" >> $GITHUB_OUTPUT |
| 209 | +echo "parsed-workspace-path=$(echo $WORKSPACEPATH)" >> $GITHUB_OUTPUT |
0 commit comments