This commit is contained in:
Vera-Firefly 2023-09-02 17:29:40 +08:00 committed by GitHub
parent 3820870b0a
commit e1bf8de11c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 0 deletions

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

@ -0,0 +1,34 @@
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 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/*