Skip to content

Commit

Permalink
Create Android workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMarquis committed May 1, 2020
1 parent 8659c00 commit ca1f7d5
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/android.yml
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

0 comments on commit ca1f7d5

Please sign in to comment.