This repository was archived by the owner on Jul 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
3
- on : [ push, pull_request ]
3
+ on :
4
+ push :
5
+ branches :
6
+ - kotlin
7
+ pull_request :
4
8
5
9
jobs :
6
10
check :
78
82
path : ~/.gradle/caches
79
83
key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle/wrapper/gradle-wrapper.properties', '**/buildSrc/src/main/kotlin/**.kt') }}
80
84
- name : Build
81
- run : ./gradlew --parallel app:assembleRelease
85
+ run : ./gradlew app:assemble
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+
8
+ jobs :
9
+ release :
10
+ name : Github Release
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : actions/setup-java@v2
15
+ with :
16
+ distribution : ' zulu'
17
+ java-version : 11
18
+ - uses : actions/cache@v2
19
+ with :
20
+ path : ~/.gradle/caches
21
+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle/wrapper/gradle-wrapper.properties', '**/buildSrc/src/main/kotlin/**.kt') }}
22
+ - name : Build APK
23
+ run : ./gradlew app:assembleOnlineRelease
24
+ - name : Create Release
25
+ uses : ncipollo/release-action@v1
26
+ with :
27
+ artifacts : " app/build/*.apk"
28
+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments