ci: update message hint (#44)

This commit is contained in:
Ylarod
2023-01-12 09:21:01 +08:00
committed by GitHub
parent e37d97c7c7
commit acd6f44c7e
4 changed files with 38 additions and 7 deletions

View File

@@ -64,10 +64,12 @@ jobs:
MESSAGE_THREAD_ID: ${{ secrets.MESSAGE_THREAD_ID }}
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
COMMIT_URL: ${{ github.event.head_commit.url }}
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
TITLE: kernel-aarch64-${{ matrix.version }}
run: |
if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then
OUTDIR=android-kernel/out/android13-5.15/dist
BOOT=kernel-aarch64-${{ matrix.version }}-boot.img.zip
BOOT=${{ matrix.version }}-boot.img.zip
zip $BOOT -j -r $OUTDIR/boot.img
pip3 install python-telegram-bot
python3 $GITHUB_WORKSPACE/KernelSU/scripts/ksubot.py $BOOT