Create build.yml

This commit is contained in:
janithanjana81-lab 2026-01-09 11:32:00 +05:30 committed by GitHub
parent 694124814e
commit 404476b102
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

28
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Build Android APK
on:
workflow_dispatch: # ඔබට අවශ්‍ය විටෙක මේක run කරන්න පුලුවන්
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Build Debug APK
run: ./gradlew assembleDebug
- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: NewPipe-APK
path: app/build/outputs/apk/debug/*.apk