Skip to content

Commit 962a049

Browse files
authored
Update flutter.yml
1 parent 8142f48 commit 962a049

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/flutter.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
1-
name: Flutter action
1+
name: Flutter CI
22

3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
- master
8+
- action_test
49

510
jobs:
611
test:
712
name: Test on ${{ matrix.os }}
813
runs-on: ${{ matrix.os }}
914
strategy:
1015
matrix:
11-
os: [ubuntu-latest, windows-latest, macos-latest]
16+
os: [ubuntu-latest]
17+
# os: [ubuntu-latest, windows-latest, macos-latest]
1218
steps:
1319
- uses: actions/checkout@v1
1420
- uses: actions/setup-java@v1
1521
with:
1622
java-version: '12.x'
1723
- uses: subosito/flutter-action@v1
1824
with:
19-
flutter-version: '1.8.4'
20-
channel: 'beta'
21-
- run: flutter pub get
25+
flutter-version: '1.7.8+hotfix.4'
26+
channel: 'stable'
27+
- run: flutter packages get
2228
- run: flutter test
23-
- run: flutter build apk
29+
- run: flutter build apk --target-platform android-arm --split-per-abi]
30+
31+
# - run: curl

0 commit comments

Comments
 (0)