ci: update msg (#76)

This commit is contained in:
Ylarod
2023-01-16 19:18:42 +08:00
committed by GitHub
parent b9dd673518
commit 2ab60750d4
5 changed files with 13 additions and 5 deletions

View File

@@ -41,6 +41,7 @@ jobs:
- uses: actions/checkout@v3
with:
path: KernelSU
fetch-depth: 0
- name: Setup kernel source
run: |
@@ -139,7 +140,9 @@ jobs:
TITLE: kernel-aarch64-${{ matrix.version }}
run: |
if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then
export VERSION=$(git describe --tags --always)
cd $GITHUB_WORKSPACE/KernelSU
export VERSION=$(git rev-list --count HEAD)
cd -
OUTDIR=android-kernel/out/android12-5.10/dist
IMAGE_GZ=${{ matrix.version }}-Image.gz
BOOT=${{ matrix.version }}-boot.img.zip

View File

@@ -29,6 +29,7 @@ jobs:
- uses: actions/checkout@v3
with:
path: KernelSU
fetch-depth: 0
- name: Setup kernel source
run: |
@@ -96,7 +97,9 @@ jobs:
TITLE: kernel-aarch64-${{ matrix.version }}
run: |
if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then
export VERSION=$(git describe --tags --always)
cd $GITHUB_WORKSPACE/KernelSU
export VERSION=$(git rev-list --count HEAD)
cd -
OUTDIR=android-kernel/out/android13-5.15/dist
BOOT=${{ matrix.version }}-boot.img.zip
zip $BOOT -j -r $OUTDIR/boot.img

View File

@@ -84,7 +84,7 @@ jobs:
TITLE: Manager
run: |
if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then
export VERSION=$(git describe --tags --always)
export VERSION=$(git rev-list --count HEAD)
APK=$(find ./app/build/outputs/apk/release -name "*.apk")
pip3 install python-telegram-bot
python3 $GITHUB_WORKSPACE/scripts/ksubot.py $APK

View File

@@ -16,6 +16,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: nttld/setup-ndk@v1
with:
ndk-version: r25b
@@ -44,7 +46,7 @@ jobs:
TITLE: SU
run: |
if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then
export VERSION=$(git describe --tags --always)
export VERSION=$(git rev-list --count HEAD)
pip3 install python-telegram-bot
mv ./userspace/su/libs/arm64-v8a/su su-arm64
mv ./userspace/su/libs/x86_64/su su-x86_64