ci: add version to tg msg (#75)
This commit is contained in:
1
.github/workflows/build-kernel-5.10.yml
vendored
1
.github/workflows/build-kernel-5.10.yml
vendored
@@ -139,6 +139,7 @@ jobs:
|
||||
TITLE: kernel-aarch64-${{ matrix.version }}
|
||||
run: |
|
||||
if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then
|
||||
export VERSION=$(git describe --tags --always)
|
||||
OUTDIR=android-kernel/out/android12-5.10/dist
|
||||
IMAGE_GZ=${{ matrix.version }}-Image.gz
|
||||
BOOT=${{ matrix.version }}-boot.img.zip
|
||||
|
||||
1
.github/workflows/build-kernel-5.15.yml
vendored
1
.github/workflows/build-kernel-5.15.yml
vendored
@@ -96,6 +96,7 @@ jobs:
|
||||
TITLE: kernel-aarch64-${{ matrix.version }}
|
||||
run: |
|
||||
if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then
|
||||
export VERSION=$(git describe --tags --always)
|
||||
OUTDIR=android-kernel/out/android13-5.15/dist
|
||||
BOOT=${{ matrix.version }}-boot.img.zip
|
||||
zip $BOOT -j -r $OUTDIR/boot.img
|
||||
|
||||
1
.github/workflows/build-manager.yml
vendored
1
.github/workflows/build-manager.yml
vendored
@@ -84,6 +84,7 @@ jobs:
|
||||
TITLE: Manager
|
||||
run: |
|
||||
if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then
|
||||
export VERSION=$(git describe --tags --always)
|
||||
APK=$(find ./app/build/outputs/apk/release -name "*.apk")
|
||||
pip3 install python-telegram-bot
|
||||
python3 $GITHUB_WORKSPACE/scripts/ksubot.py $APK
|
||||
|
||||
1
.github/workflows/build-su.yml
vendored
1
.github/workflows/build-su.yml
vendored
@@ -44,6 +44,7 @@ jobs:
|
||||
TITLE: SU
|
||||
run: |
|
||||
if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then
|
||||
export VERSION=$(git describe --tags --always)
|
||||
pip3 install python-telegram-bot
|
||||
mv ./userspace/su/libs/arm64-v8a/su su-arm64
|
||||
mv ./userspace/su/libs/x86_64/su su-x86_64
|
||||
|
||||
Reference in New Issue
Block a user