You've already forked KernelSU
mirror of
https://github.com/tiann/KernelSU.git
synced 2025-08-27 23:46:34 +00:00
Bumps the actions group with 3 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [actions/download-artifact](https://github.com/actions/download-artifact) and [actions/setup-java](https://github.com/actions/setup-java). Updates `actions/checkout` from 4 to 5 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) Updates `actions/download-artifact` from 4 to 5 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v4...v5) Updates `actions/setup-java` from 4 to 5 - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/download-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/setup-java dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
97 lines
2.7 KiB
YAML
97 lines
2.7 KiB
YAML
name: Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
workflow_dispatch:
|
|
|
|
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-a15-kernel:
|
|
uses: ./.github/workflows/build-kernel-a15.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
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Download artifacts
|
|
uses: actions/download-artifact@v5
|
|
- name: Rename ksud
|
|
run: |
|
|
mkdir -p ksud
|
|
for dir in ./ksud-*; do
|
|
if [ -d "$dir" ]; then
|
|
echo "----- Rename $dir -----"
|
|
ksud_platform_name=$(basename "$dir")
|
|
find "$dir" -type f -name "ksud" -path "*/release/*" | while read -r ksud_file; do
|
|
if [ -f "$ksud_file" ]; then
|
|
mv "$ksud_file" "ksud/$ksud_platform_name"
|
|
fi
|
|
done
|
|
fi
|
|
done
|
|
- name: Zip AnyKernel3
|
|
run: |
|
|
for dir in AnyKernel3-*; do
|
|
if [ -d "$dir" ]; then
|
|
echo "----- Zip $dir -----"
|
|
(cd $dir && zip -r9 "$dir".zip ./* -x .git .gitignore ./*.zip && mv *.zip ..)
|
|
fi
|
|
done
|
|
|
|
- name: Zip WSA kernel
|
|
run: |
|
|
for dir in kernel-WSA-*; do
|
|
if [ -d "$dir" ]; then
|
|
echo "------ Zip $dir ----------"
|
|
(cd $dir && zip -r9 "$dir".zip ./* -x .git .gitignore ./*.zip && mv *.zip ..)
|
|
fi
|
|
done
|
|
|
|
- name: Zip ChromeOS ARCVM kernel
|
|
run: |
|
|
for dir in kernel-ARCVM-*; do
|
|
if [ -d "$dir" ]; then
|
|
echo "------ Zip $dir ----------"
|
|
(cd $dir && zip -r9 "$dir".zip ./* -x .git .gitignore ./*.zip && mv *.zip ..)
|
|
fi
|
|
done
|
|
|
|
- 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/ksud-*
|