basic github ci with debug builds

This commit is contained in:
FrostNovaHD 2024-01-07 05:10:44 -05:00 committed by GitHub
parent 73bcf9b14a
commit 4dc4a9e88c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 35 additions and 0 deletions

35
.github/workflows/main.yml vendored Normal file
View File

@ -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