@@ -126,7 +126,7 @@ jobs:
126126 steps:
127127 - uses: actions/checkout@main
128128 - name: Prepare Device Simulator
129- id: prep- sim
129+ id: sim-setup
130130 uses: orchetect/xcode-simulator-setup@main
131131 with:
132132 refresh: true
@@ -140,18 +140,18 @@ jobs:
140140 -scheme "$SCHEME" \
141141 -destination "generic/platform=$PLATFORMSHORT"
142142 env:
143- PLATFORMSHORT: ${{ steps.prep- sim.outputs.platform-short }}
144- WORKSPACEPATH: ${{ steps.prep- sim.outputs.workspace-path }}
143+ PLATFORMSHORT: ${{ steps.sim-setup .outputs.platform-short }}
144+ WORKSPACEPATH: ${{ steps.sim-setup .outputs.workspace-path }}
145145 - name: Unit Test
146146 run: |
147147 xcodebuild test \
148148 -workspace "$WORKSPACEPATH" \
149149 -scheme "$SCHEME" \
150150 -destination "platform=$PLATFORM,id=$ID"
151151 env:
152- ID: ${{ steps.prep- sim.outputs.id }}
153- PLATFORM: ${{ steps.prep- sim.outputs.platform }}
154- WORKSPACEPATH: ${{ steps.prep- sim.outputs.workspace-path }}
152+ ID: ${{ steps.sim-setup .outputs.id }}
153+ PLATFORM: ${{ steps.sim-setup .outputs.platform }}
154+ WORKSPACEPATH: ${{ steps.sim-setup .outputs.workspace-path }}
155155` ` `
156156
157157# ## Build and Test a Swift Package for Multiple Platforms
@@ -178,7 +178,7 @@ jobs:
178178 steps:
179179 - uses: actions/checkout@main
180180 - name: Prepare Device Simulator
181- id: prep- sim
181+ id: sim-setup
182182 uses: orchetect/xcode-simulator-setup@main
183183 with:
184184 refresh: true
@@ -192,18 +192,18 @@ jobs:
192192 -scheme "$SCHEME" \
193193 -destination "generic/platform=$PLATFORMSHORT"
194194 env:
195- PLATFORMSHORT: ${{ steps.prep- sim.outputs.platform-short }}
196- WORKSPACEPATH: ${{ steps.prep- sim.outputs.workspace-path }}
195+ PLATFORMSHORT: ${{ steps.sim-setup .outputs.platform-short }}
196+ WORKSPACEPATH: ${{ steps.sim-setup .outputs.workspace-path }}
197197 - name: Unit Test
198198 run: |
199199 xcodebuild test \
200200 -workspace "$WORKSPACEPATH" \
201201 -scheme "$SCHEME" \
202202 -destination "platform=$PLATFORM,id=$ID"
203203 env:
204- ID: ${{ steps.prep- sim.outputs.id }}
205- PLATFORM: ${{ steps.prep- sim.outputs.platform }}
206- WORKSPACEPATH: ${{ steps.prep- sim.outputs.workspace-path }}
204+ ID: ${{ steps.sim-setup .outputs.id }}
205+ PLATFORM: ${{ steps.sim-setup .outputs.platform }}
206+ WORKSPACEPATH: ${{ steps.sim-setup .outputs.workspace-path }}
207207` ` `
208208
209209# # Documentation
0 commit comments