Update #2
This file contains 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: Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: ${{ !startsWith(github.event.head_commit.message, '[skip ci]') }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup NDK | |
uses: nttld/setup-ndk@v1 | |
with: | |
ndk-version: r24 | |
- name: Build release | |
run: | | |
chmod 777 ./build.sh | |
./build.sh release | |
- name: Upload release build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: magiskhide-release | |
path: out/magisk-module | |
- name: Build debug | |
run: | | |
chmod 777 ./build.sh | |
./build.sh debug | |
- name: Upload debug build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: magiskhide-debug | |
path: out/magisk-module |