Skip to content

Commit 256ce99

Browse files
committed
drive with regex
1 parent faef2fd commit 256ce99

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/workflows/drive.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,15 @@ jobs:
1111
strategy:
1212
matrix:
1313
device:
14-
- "iPhone 12 mini (14.2)"
14+
- "iPhone 12 mini"
1515
fail-fast: false
1616
runs-on: macos-10.15
1717
steps:
1818
- name: "List all simulators"
19-
run: "xcrun instruments -s"
19+
run: "xcrun xctrace list devices"
2020
- name: "Start Simulator"
2121
run: |
22-
UDID=$(
23-
xcrun instruments -s |
24-
awk \
25-
-F ' *[][]' \
26-
-v 'device=${{ matrix.device }}' \
27-
'$1 == device { print $2 }'
28-
)
22+
UDID=$(xcrun instruments -s | awk -F ' *[][]' '/${{ matrix.device }}/ { print $2; exit }')
2923
xcrun simctl boot "${UDID:?No Simulator with this name found}"
3024
- uses: actions/checkout@v1
3125
- uses: subosito/flutter-action@v1

example/pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ packages:
270270
path: ".."
271271
relative: true
272272
source: path
273-
version: "1.1.1"
273+
version: "1.1.2"
274274
package_config:
275275
dependency: transitive
276276
description:
@@ -494,5 +494,5 @@ packages:
494494
source: hosted
495495
version: "2.2.1"
496496
sdks:
497-
dart: ">=2.12.0-0.0 <=2.12.0-76.0.dev"
497+
dart: ">=2.12.0-0.0 <=2.12.0-141.0.dev"
498498
flutter: ">=1.10.0 <2.0.0"

0 commit comments

Comments
 (0)