basic github ci with debug builds
This commit is contained in:
parent
73bcf9b14a
commit
4dc4a9e88c
|
@ -0,0 +1,35 @@
|
|||
name: Android CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches-ignore:
|
||||
- ''
|
||||
push:
|
||||
branches-ignore:
|
||||
- ''
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 17
|
||||
|
||||
- name: Build debug .apk
|
||||
run: |
|
||||
chmod +x gradlew
|
||||
./gradlew assembleDebug
|
||||
|
||||
- name : upload apk
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: app-release
|
||||
path: FCL/build/outputs/apk/debug/*
|
||||
# retention-days: 1
|
Loading…
Reference in New Issue