build: debug workflow

This commit is contained in:
Canny 2022-10-09 20:51:47 +03:00 committed by GitHub
parent 897abba748
commit d877c8882f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

31
.github/workflows/blank.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: Android Debug
on:
push:
branches: [ "compose" ]
pull_request:
branches: [ "compose" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Build with Gradle
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew assembleDebug
- name: Store generated APK file
uses: actions/upload-artifact@v2
with:
name: manager
path: ./app/build/outputs/apk/debug/app-debug.apk