Skip to content

Commit 404476b

Browse files
Create build.yml
1 parent 6941248 commit 404476b

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build Android APK
2+
3+
on:
4+
workflow_dispatch: # ඔබට අවශ්‍ය විටෙක මේක run කරන්න පුලුවන්
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout Code
11+
uses: actions/checkout@v3
12+
13+
- name: Set up JDK 17
14+
uses: actions/setup-java@v3
15+
with:
16+
java-version: '17'
17+
distribution: 'temurin'
18+
cache: gradle
19+
20+
- name: Build Debug APK
21+
run: ./gradlew assembleDebug
22+
23+
- name: Upload APK
24+
uses: actions/upload-artifact@v3
25+
with:
26+
name: NewPipe-APK
27+
path: app/build/outputs/apk/debug/*.apk
28+

0 commit comments

Comments
 (0)