Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tehcneko committed Mar 11, 2024
1 parent 68ac14a commit 440d857
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Checkout libxposed/api
uses: actions/checkout@v4
with:
repository: libxposed/api
path: libxposed/api
fetch-depth: 0

- name: set up JDK 17
uses: actions/setup-java@v3
Expand All @@ -33,7 +42,17 @@ jobs:
fi
- name: Build with Gradle
run: ./gradlew assembleRelease assembleDebug
run: |
# gradle properties
mkdir -p ~/.gradle
echo 'org.gradle.caching=true' >> ~/.gradle/gradle.properties
echo 'org.gradle.parallel=true' >> ~/.gradle/gradle.properties
echo 'org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -XX:+UseParallelGC' >> ~/.gradle/gradle.properties
echo 'android.native.buildOutput=verbose' >> ~/.gradle/gradle.properties
# build dependencies
cd libxposed/api && ./gradlew publishToMavenLocal && cd ../..
# build DisableFlagSecure
./gradlew assembleRelease assembleDebug
- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 440d857

Please sign in to comment.