File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name : CI
4
+
5
+ # Controls when the action will run. Triggers the workflow on push or pull request
6
+ # events but only for the master branch
7
+ on :
8
+ push :
9
+ tags :
10
+ - ' v*'
11
+
12
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
13
+ jobs :
14
+ # This workflow contains a single job called "build"
15
+ build :
16
+ # The type of runner that the job will run on
17
+ runs-on : ubuntu-latest
18
+
19
+ # Steps represent a sequence of tasks that will be executed as part of the job
20
+ steps :
21
+ - uses : actions/checkout@v1
22
+ - uses : actions/setup-java@v1
23
+ with :
24
+ java-version : ' 12.x'
25
+ - uses : subosito/flutter-action@v1
26
+ with :
27
+ channel : dev
28
+ - run : flutter pub get
29
+ - run : flutter build apk
30
+ - name : changelog
31
+ uses : scottbrenner/generate-changelog-action@master
32
+ id : Changelog
33
+ env :
34
+ REPO : ${{ github.repository }}
35
+ - name : Action Release
36
+ uses : yakuhzi/action-release@v1.2.0
37
+ env :
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
+ with :
40
+ tag_name : ${{ github.ref }}
41
+ file : build/app/outputs/apk/release/app-release.apk
42
+ changelogs : ${{ steps.Changelog.outputs.changelog }}
You can’t perform that action at this time.
0 commit comments