ci: update message hint (#44)
This commit is contained in:
10
.github/workflows/build-kernel-5.10.yml
vendored
10
.github/workflows/build-kernel-5.10.yml
vendored
@@ -110,13 +110,15 @@ 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/android12-5.10/dist
|
||||
IMAGE_GZ=kernel-aarch64-${{ matrix.version }}-Image.gz
|
||||
BOOT=kernel-aarch64-${{ matrix.version }}-boot.img.zip
|
||||
BOOT_LZ4=kernel-aarch64-${{ matrix.version }}-boot-lz4.img.zip
|
||||
BOOT_GZ=kernel-aarch64-${{ matrix.version }}-boot-gz.img.zip
|
||||
IMAGE_GZ=${{ matrix.version }}-Image.gz
|
||||
BOOT=${{ matrix.version }}-boot.img.zip
|
||||
BOOT_LZ4=${{ matrix.version }}-boot-lz4.img.zip
|
||||
BOOT_GZ=${{ matrix.version }}-boot-gz.img.zip
|
||||
mv $OUTDIR/Image.gz $IMAGE_GZ
|
||||
zip $BOOT -j -r $OUTDIR/boot.img
|
||||
zip $BOOT_LZ4 -j -r $OUTDIR/boot-gz.img
|
||||
|
||||
4
.github/workflows/build-kernel-5.15.yml
vendored
4
.github/workflows/build-kernel-5.15.yml
vendored
@@ -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
|
||||
|
||||
3
.github/workflows/build-su.yml
vendored
3
.github/workflows/build-su.yml
vendored
@@ -5,6 +5,7 @@ on:
|
||||
paths:
|
||||
- '.github/workflows/build-su.yml'
|
||||
- 'userspace/**'
|
||||
- 'scripts/ksubot.py'
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
paths:
|
||||
@@ -35,6 +36,8 @@ 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: SU
|
||||
run: |
|
||||
if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then
|
||||
pip3 install python-telegram-bot
|
||||
|
||||
Reference in New Issue
Block a user