-
Notifications
You must be signed in to change notification settings - Fork 11
46 lines (39 loc) · 1004 Bytes
/
Copy pathbuild.yml
File metadata and controls
46 lines (39 loc) · 1004 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
41
42
43
44
45
46
name: APatch Component Build
on:
push:
branches: [master]
paths:
- "app/**"
- "native/**"
- "build.py"
- ".github/workflows/build.yml"
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
name: Build APatch Component From Magisk
runs-on: macos-15
strategy:
fail-fast: false
steps:
- name: Check out
uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Setup environment
uses: ./.github/actions/setup
with:
is-asset-build: true
- name: Build magiskpolicy
run: ./build.py -vr native magiskpolicy
- name: Build resetprop
run: ./build.py -vr native resetprop
- name: Stop gradle daemon
run: ./app/gradlew --stop
- name: Upload build artifact
uses: actions/upload-artifact@v6
with:
name: ${{ github.sha }}
path: native/out/arm64-v8a
compression-level: 9