2024-01-07 10:10:44 +00:00
|
|
|
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
|
2024-01-07 10:40:30 +00:00
|
|
|
./gradlew assembledebug
|
2024-01-07 10:10:44 +00:00
|
|
|
|
|
|
|
- name : upload apk
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: app-release
|
|
|
|
path: FCL/build/outputs/apk/debug/*
|
|
|
|
# retention-days: 1
|