We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c23a83 commit 668dc2fCopy full SHA for 668dc2f
.github/workflows/android.yml
@@ -0,0 +1,31 @@
1
+name: Android CI - Build and Release
2
+
3
+on:
4
+ push:
5
+ branches: [ "develop" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ apk:
11
+ name: Generate APK
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v2.4.0
16
+ - name: Branch name
17
+ run: echo running on branch ${GITHUB_REF##*/}
18
+ - name: Setup JDK
19
+ uses: actions/setup-java@v2.5.0
20
+ with:
21
+ distribution: temurin
22
+ java-version: "11"
23
+ - name: Set execution flag for gradlew
24
+ run: chmod +x gradlew
25
+ - name: Build APK
26
+ run: bash ./gradlew assembleDebug --stacktrace
27
+ - name: Upload APK
28
+ uses: actions/upload-artifact@v1
29
30
+ name: apk
31
+ path: app/build/outputs/apk/debug/app-debug.apk
0 commit comments