mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-09-20 02:54:23 +02:00
Add workflow to build debug apk
This commit is contained in:
parent
5f762c4a80
commit
44f905a7e0
1 changed files with 28 additions and 0 deletions
28
.github/workflows/main.yml
vendored
Normal file
28
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
name: Build debug APK
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
|
workflow_dispatch:
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout the code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Setup Java JDK
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: 17
|
||||||
|
- name: Generate debug build
|
||||||
|
run: ./gradlew assembleDebug
|
||||||
|
- name: Upload APK
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: app_debug
|
||||||
|
path: app/build/outputs/apk/dev/debug/app-dev-debug.apk
|
Loading…
Reference in a new issue