fix magiskboot error,try support kernel 6.12 patch #28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: Build magiskboot | |
| run: ./build.py -vr native magiskboot | |
| - name: Stop gradle daemon | |
| run: ./app/gradlew --stop | |
| - name: Upload build artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ github.sha }} | |
| path: native/out/arm64-v8a | |
| compression-level: 9 |