-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b0c832
commit bb799a1
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Build PixelPlus Zygisk Module | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' # Adjust if needed | ||
distribution: 'temurin' | ||
- name: Set up Android SDK and NDK | ||
uses: android-actions/setup-android@v2 | ||
with: | ||
# Configure specific Android SDK and NDK versions | ||
sdk-version: '30' | ||
ndk-version: '21.4.7075529' # Matches the script | ||
- name: Set environment variables | ||
run: | | ||
echo "ANDROID_HOME=$HOME/Library/Android/sdk" >> $GITHUB_ENV | ||
echo "ANDROID_NDK_HOME=$HOME/Library/Android/ndk/$NDK_VERSION" >> $GITHUB_ENV | ||
- name: Make script executable | ||
run: chmod +x ./build.sh | ||
- name: Build module | ||
run: | | ||
./build.sh # Consider adding input parameters for build modes etc. | ||
- name: Archive artifacts (optional) | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: pixelplus-build | ||
path: magisk/pixelplus-$version.zip | ||
|
||
# Notes: | ||
# - Update paths and commands in the script if needed for your project structure. | ||
# - Use GitHub secrets for sensitive information (e.g., API keys). | ||
# - Consider employing actions from the GitHub Marketplace for advanced tasks. | ||
|