mirror of
https://github.com/LSPosed/DisableFlagSecure.git
synced 2025-05-04 22:54:41 +08:00
Update CI
This commit is contained in:
parent
68ac14a2b8
commit
440d85714c
21
.github/workflows/android.yml
vendored
21
.github/workflows/android.yml
vendored
@ -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
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user