Skip to content

Commit 4909b72

Browse files
Working on iOS GitHub CI
1 parent ac0242f commit 4909b72

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/pr_validation.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,17 @@ jobs:
220220
- name: Check the simulator UI
221221
run: xcrun simctl ui booted appearance
222222

223+
- name: Take a screenshot of the simulator
224+
run: |
225+
mkdir -p simulator-screenshots
226+
xcrun simctl io booted screenshot ./simulator-screenshots/screenshot.png
227+
228+
- name: Upload simulator screenshot as Artifact
229+
uses: actions/upload-artifact@v3
230+
with:
231+
name: simulator-screenshot
232+
path: simulator-screenshots/screenshot.png
233+
223234
- name: Check for installed app on simulator
224235
run: |
225236
echo "Checking for app's container on the booted simulator:"

0 commit comments

Comments
 (0)