mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-16 23:12:12 +00:00
34 lines
817 B
YAML
34 lines
817 B
YAML
name: Build Android APK
|
|
|
|
on:
|
|
workflow_dispatch: # Allows you to run it manually from the Actions tab
|
|
paths:
|
|
- 'composeApp/**'
|
|
- 'gradle/**'
|
|
- '*.gradle.kts'
|
|
|
|
jobs:
|
|
build-android:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'zulu'
|
|
cache: gradle
|
|
|
|
- name: Grant execute permission for gradlew
|
|
run: chmod +x gradlew
|
|
|
|
- name: Build Android Debug APK
|
|
run: ./gradlew :composeApp:assembleDebug
|
|
|
|
- name: Upload APK artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: app-debug
|
|
path: composeApp/build/outputs/apk/debug/*.apk
|