1
0
Fork 0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2025-10-03 01:39:38 +02:00

feat: Add GitHub workflow to build debug APK

This workflow allows for the manual creation of a debug APK. It can be triggered from the Actions tab in the GitHub repository.

The workflow builds the debug APK and uploads it as a build artifact named 'app-debug', which can then be downloaded by users.
This commit is contained in:
google-labs-jules[bot] 2025-09-08 23:22:30 +00:00
parent 9bc8139b8c
commit 25b7c194ad

28
.github/workflows/build-debug-apk.yml vendored Normal file
View file

@ -0,0 +1,28 @@
name: "Build debug APK"
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'gradle'
- name: "Set up Android SDK"
uses: android-actions/setup-android@v3
- name: "Build debug APK"
run: ./gradlew assembleDebug --stacktrace
- name: "Upload APK"
uses: actions/upload-artifact@v4
with:
name: app-debug
path: app/build/outputs/apk/debug/app-debug.apk