Skip to content

Commit

Permalink
cmt
Browse files Browse the repository at this point in the history
  • Loading branch information
danh-ld committed Sep 21, 2023
1 parent 4d34971 commit 51deb25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
sudo xcode-select -switch /Applications/$XCODE_PATH/Contents/Developer
# - name: List devices
# run: xcrun simctl list devices | grep -v "Unavailable" | grep -v "unavailable"
- name: Set environment variable
run: echo "DEVICE_LIST=$(xcrun simctl list devices | grep -v 'Unavailable' | grep -v 'unavailable' | sed -E 's/ \(([A-Z0-9\-]+)\) / -- (\1) /g')" >> $GITHUB_ENV

- name: List devices and set env variable
run: echo "DEVICES=$(xcrun simctl list devices | grep -v "Unavailable" | grep -v "unavailable" | sed -E 's/ \(([A-Z0-9\-]+)\) / -- (\1) /g')" >> $GITHUB_ENV

- name: "Install flutter"
uses: subosito/flutter-action@v2
Expand Down

0 comments on commit 51deb25

Please sign in to comment.