From 5fd88b23a06be1d8569be139ea2f923cdf799c94 Mon Sep 17 00:00:00 2001 From: Zain Arbani Date: Wed, 8 Nov 2023 14:11:55 +0700 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5fbdf24..25bbb6a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,10 @@ on: description: 'KERNEL_DEFCONFIG' required: true default: 'rosemary_defconfig' + KERNEL_HOTFIX: + description: 'KERNEL_HOTFIX' + required: false + default: 'N/A' jobs: build: @@ -52,6 +56,8 @@ jobs: export TZ="Asia/Jakarta" export DATE=$(date "+%Y%m%d-%H%M") echo "BUILD_DATE=$(date "+%Y%m%d%H%M")" >> $GITHUB_ENV + echo "KERNEL_VER=$(make kernelversion)" >> $GITHUB_ENV + echo "CLANG_VER=$(clang --version | head -n 1 | perl -pe 's/\(http.*?\)//gs' | sed -e 's/ */ /g')" >> $GITHUB_ENV export ARCH=arm64 export KBUILD_BUILD_HOST=builder export KBUILD_BUILD_USER=zainarbani @@ -99,11 +105,16 @@ jobs: disable_web_page_preview: true message: | OverHeat-Kernel Update + + Build Date: ${{ env.BUILD_DATE }} Download - - Changelogs + Changelogs + + Hotfix: ${{ github.event.inputs.KERNEL_HOTFIX }} + Config: ${{ github.event.inputs.KERNEL_DEFCONFIG }} - Build Date: ${{ env.BUILD_DATE }} + Kernel Ver: ${{ env.KERNEL_VER }} + Clang Ver: ${{ env.CLANG_VER }} Maintainer: @AnotherZain