Skip to content

Commit 4e1f7c1

Browse files
committed
Merge remote-tracking branch 'origin/kotlin' into kotlin
2 parents 7fcf07f + bd56ee3 commit 4e1f7c1

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build & Publish Release APK
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
Gradle:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: checkout code
13+
uses: actions/checkout@v2
14+
- name: setup jdk
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 11
18+
- name: Make Gradle executable
19+
run: chmod +x ./gradlew
20+
- name: Build Release APK
21+
run: ./gradlew assembleRelease
22+
- name: Releasing using Hub
23+
uses: kyze8439690/action-release-releaseapk@master
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.TOKEN }}
26+
APP_FOLDER: app

.github/workflows/blank.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,21 @@ jobs:
3434
run: |
3535
echo Add other actions to build,
3636
echo test, and deploy your project.
37+
apk:
38+
name: Generate APK
39+
needs: build
40+
runs-on: ubuntu-latest
41+
steps:
42+
- name: Checkout
43+
uses: actions/checkout@v1
44+
- name: Setup JDK
45+
uses: actions/setup-java@v1
46+
with:
47+
java-version: 1.8
48+
- name: Build APK
49+
run: bash ./gradlew assembleDebug --stacktrace
50+
- name: Upload APK
51+
uses: actions/upload-artifact@v1
52+
with:
53+
name: apk
54+
path: app/build/outputs/apk/debug/app-debug.apk

0 commit comments

Comments
 (0)