File tree Expand file tree Collapse file tree 3 files changed +34
-66
lines changed Expand file tree Collapse file tree 3 files changed +34
-66
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: F4LabCI
2
2
on : pull_request
3
3
4
4
jobs :
5
- check :
5
+ test :
6
6
name : Test on ${{ matrix.os }}
7
7
runs-on : ${{ matrix.os }}
8
8
strategy :
18
18
# same with pubspec.yaml
19
19
flutter-version : " 1.9.1+hotfix.2"
20
20
- run : flutter pub get
21
+ - run : flutter analyze --no-pub --no-current-package lib/ test/
21
22
- run : flutter test --no-pub test/
Original file line number Diff line number Diff line change
1
+ name : F4LabCIRelease
2
+ on :
3
+ push :
4
+ tags :
5
+ - " release-v*"
6
+
7
+ jobs :
8
+ release-to-gitHub :
9
+ name : release
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v1
13
+ - uses : actions/setup-java@v1
14
+ with :
15
+ java-version : " 12.x"
16
+ - uses : subosito/flutter-action@v1
17
+ with :
18
+ # same with pubspec.yaml
19
+ flutter-version : " 1.9.1+hotfix.2"
20
+ - run : flutter pub get
21
+ - run : flutter analyze --no-pub --no-current-package lib/ test/
22
+ - run : flutter test --no-pub test/
23
+ - run : flutter build apk
24
+ - uses : anton-yurchenko/git-release@v1
25
+ env :
26
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
+ DRAFT_RELEASE : " false"
28
+ PRE_RELEASE : " false"
29
+ CHANGELOG_FILE : " false"
30
+ with :
31
+ args : |
32
+ build/app/outputs/apk/release/app-release.apk
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments