@@ -34,16 +34,15 @@ runs:
3434 # Workaround for Xcode/GitHub runner issues finding simulators.
3535 # see https://github.com/actions/runner-images/issues/12758#issuecomment-3206748945
3636 - name : Refresh Simulators
37- run : Refresh Simulators |
38- echo "Refreshing simulators...\n"
39- LIST=$(xcrun simctl list)
37+ run : $GITHUB_ACTION_PATH/scripts/refresh.sh
4038 shell : bash
4139 if : inputs.refresh == 'true'
40+ env :
41+ GITHUB_ACTION_PATH : ${{ github.action_path }}
4242
4343 - name : Parse Inputs
4444 id : parse-inputs
45- run : Parse Inputs |
46- " $GITHUB_ACTION_PATH/scripts/parse-inputs.sh"
45+ run : $GITHUB_ACTION_PATH/scripts/parse-inputs.sh
4746 shell : bash
4847 env :
4948 GITHUB_ACTION_PATH : ${{ github.action_path }}
@@ -62,19 +61,16 @@ runs:
6261 # Workaround for Xcode/GitHub runner issues finding simulators.
6362 # see https://github.com/actions/runner-images/issues/12758#issuecomment-3206748945
6463 - name : Download Simulator for Platform
65- run : Download Simulator for Platform |
66- echo "Downloading simulator if needed...\n"
67- LOG=$(xcodebuild -downloadPlatform "$SIMPLATFORM")
64+ run : $GITHUB_ACTION_PATH/scripts/download.sh
6865 shell : bash
6966 if : inputs.download == 'true'
7067 env :
68+ GITHUB_ACTION_PATH : ${{ github.action_path }}
7169 SIMPLATFORM : ${{ steps.parse-inputs.outputs.parsed-platform }}
7270
7371 - name : Find Simulator ID
7472 id : id-finder
75- run : Find Simulator ID |
76- echo "Finding matching device simulator..."
77- " $GITHUB_ACTION_PATH/scripts/id.sh"
73+ run : $GITHUB_ACTION_PATH/scripts/id.sh
7874 shell : bash
7975 env :
8076 GITHUB_ACTION_PATH : ${{ github.action_path }}
0 commit comments