-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8659c00
commit ca1f7d5
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Android CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Fix gradlew permission | ||
run: chmod +x gradlew | ||
- name: Check | ||
run: ./gradlew check --stacktrace | ||
- name: Assemble | ||
run: ./gradlew assembleDebug bundleDebug --stacktrace | ||
- name: Upload APK | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: app-debug.apk | ||
path: app/build/outputs/apk/debug/app-debug.apk | ||
- name: Upload AAB | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: app-debug.aab | ||
path: app/build/outputs/bundle/debug/app-debug.aab |