Skip to content

Commit 5c84301

Browse files
authored
Update build.yml
1 parent 24d5c8e commit 5c84301

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,21 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14+
1415
- name: Set up JDK
1516
uses: actions/setup-java@v2
1617
with:
1718
distribution: 'zulu'
18-
java-version: '15'
19+
java-version: '8'
20+
1921
- name: Make gradlew executable
2022
run: chmod +x ./gradlew
21-
- name: Build with Gradle
22-
run: ./gradlew build
23+
24+
- name: Build debug APK
25+
run: ./gradlew assembleDebug --warning-mode all --stacktrace
26+
27+
- name: Upload APK
28+
uses: actions/upload-artifact@v2
29+
with:
30+
name: app-debug
31+
path: app/build/outputs/apk/debug/app-debug.apk

0 commit comments

Comments
 (0)