File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Android Build
2+
3+ on :
4+ push :
5+ branches :
6+ - feature/mx-like-external-player
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v3
15+
16+ - name : Set up JDK 17
17+ uses : actions/setup-java@v3
18+ with :
19+ distribution : ' temurin'
20+ java-version : 17
21+ cache : gradle
22+
23+ - name : Download Android SDK command-line tools
24+ uses : android-actions/setup-android@v2
25+ with :
26+ api-level : 33
27+ target : android-33
28+ arch : x64
29+ cache : true
30+
31+ - name : Grant execute permission for gradlew
32+ run : chmod +x gradlew
33+
34+ - name : Build Debug APK
35+ run : ./gradlew assembleDebug
36+
37+ - name : Upload APK artifact
38+ uses : actions/upload-artifact@v3
39+ with :
40+ name : NewPipe-ExternalPlayer-APK
41+ path : external-player/build/outputs/apk/debug/external-player-debug.apk
You can’t perform that action at this time.
0 commit comments