Skip to content

Commit

Permalink
hard uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
danh-ld committed Sep 10, 2023
1 parent 31db851 commit 9e3f4ed
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,18 @@ jobs:
# - name: "List all simulators"
# run: "xcrun instruments -s"
- name: "Start Simulator"
run: |
UDID=$(
xcrun simctl -s |
awk \
-F ' *[][]' \
-v 'device=${{ matrix.device }}' \
'$1 == device { print $2 }'
)
# run: |
# UDID=$(
# xcrun simctl -s |
# awk \
# -F ' *[][]' \
# -v 'device=${{ matrix.device }}' \
# '$1 == device { print $2 }'
# )

# xcrun simctl boot "${UDID:?No Simulator with this name found}"
run: xcrun simctl boot F7825553-E407-4D90-B644-EF8800278482

xcrun simctl boot "${UDID:?No Simulator with this name found}"
# The branch or tag ref that triggered the workflow will be checked out.
# https://github.com/actions/checkout
- uses: actions/checkout@v1
Expand Down

0 comments on commit 9e3f4ed

Please sign in to comment.