-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
40 lines (33 loc) · 873 Bytes
/
android.yml
File metadata and controls
40 lines (33 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Android CI
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Set up JDK 1.8
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '8'
cache: gradle
- name: Setup Android NDK
uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r21e
local-cache: true
- name: Build with Gradle
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
run: |
cd VirtualApp
chmod +x gradlew
./gradlew assembleDebug
- name: Archive production artifacts
uses: actions/upload-artifact@v6
with:
name: VirtualXposed-APK
path: VirtualApp/app/build/outputs/apk/**/*.apk