Skip to content

Commit

Permalink
自定义release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wrp committed Jun 14, 2024
1 parent 0552fba commit af10b31
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 33 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,29 @@ jobs:
build-manager:
uses: ./.github/workflows/build-manager.yml
secrets: inherit
build-a12-kernel:
uses: ./.github/workflows/build-kernel-a12.yml
secrets: inherit
build-a13-kernel:
uses: ./.github/workflows/build-kernel-a13.yml
secrets: inherit
build-a14-kernel:
uses: ./.github/workflows/build-kernel-a14.yml
secrets: inherit
build-wsa-kernel:
uses: ./.github/workflows/build-kernel-wsa.yml
secrets: inherit
build-arcvm-kernel:
uses: ./.github/workflows/build-kernel-arcvm.yml
secrets: inherit
# build-a12-kernel:
# uses: ./.github/workflows/build-kernel-a12.yml
# secrets: inherit
# build-a13-kernel:
# uses: ./.github/workflows/build-kernel-a13.yml
# secrets: inherit
# build-a14-kernel:
# uses: ./.github/workflows/build-kernel-a14.yml
# secrets: inherit
# build-wsa-kernel:
# uses: ./.github/workflows/build-kernel-wsa.yml
# secrets: inherit
# build-arcvm-kernel:
# uses: ./.github/workflows/build-kernel-arcvm.yml
# secrets: inherit
release:
needs:
- build-manager
- build-a12-kernel
- build-a13-kernel
- build-a14-kernel
- build-wsa-kernel
- build-arcvm-kernel
# - build-a12-kernel
# - build-a13-kernel
# - build-a14-kernel
# - build-wsa-kernel
# - build-arcvm-kernel
runs-on: ubuntu-latest
steps:
- name: Download artifacts
Expand Down Expand Up @@ -66,14 +66,14 @@ jobs:
- name: Display structure of downloaded files
run: ls -R

- name: release
uses: softprops/action-gh-release@v2
with:
files: |
manager/*.apk
android*-lkm/*_kernelsu.ko
AnyKernel3-*.zip
boot-images-*/Image-*/*.img.gz
kernel-WSA*.zip
kernel-ARCVM*.zip
ksud-*
# - name: release
# uses: softprops/action-gh-release@v2
# with:
# files: |
# manager/*.apk
# android*-lkm/*_kernelsu.ko
# AnyKernel3-*.zip
# boot-images-*/Image-*/*.img.gz
# kernel-WSA*.zip
# kernel-ARCVM*.zip
# ksud-*
1 change: 1 addition & 0 deletions manager/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ android {
path("src/main/cpp/CMakeLists.txt")
}
}
ndkVersion = "26.1.10909125"

applicationVariants.all {
outputs.forEach {
Expand Down
2 changes: 1 addition & 1 deletion manager/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
android:supportsRtl="true"
android:networkSecurityConfig="@xml/network_security_config"
android:theme="@style/Theme.KernelSU"
tools:targetApi="34">
android:usesCleartextTraffic="true"
tools:targetApi="33">

<activity
android:name=".ui.MainActivity"
android:exported="true"
Expand Down
3 changes: 2 additions & 1 deletion manager/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Fri Jun 14 14:10:34 CST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit af10b31

Please sign in to comment.