Create build.yml
This commit is contained in:
parent
694124814e
commit
404476b102
28
.github/workflows/build.yml
vendored
Normal file
28
.github/workflows/build.yml
vendored
Normal 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user