Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zainarbani authored Nov 8, 2023
1 parent d945f15 commit 5fd88b2
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -99,11 +105,16 @@ jobs:
disable_web_page_preview: true
message: |
<b>OverHeat-Kernel Update</b>
<b>Build Date: </b>${{ env.BUILD_DATE }}
<a href="https://github.com/${{ github.repository }}/releases/tag/${{ env.BUILD_DATE }}">Download</a>
<a href="${{ github.event.inputs.KERNEL_REPO }}/commits/${{ github.event.inputs.KERNEL_BRANCH }}">Changelogs</a>
<a href="${{ github.event.inputs.KERNEL_REPO }}/commits/${{ github.event.inputs.KERNEL_BRANCH }}">Changelogs</a>
<b>Hotfix: </b>${{ github.event.inputs.KERNEL_HOTFIX }}
<b>Config: </b>${{ github.event.inputs.KERNEL_DEFCONFIG }}
<b>Build Date: </b>${{ env.BUILD_DATE }}
<b>Kernel Ver: </b>${{ env.KERNEL_VER }}
<b>Clang Ver: </b>${{ env.CLANG_VER }}
<b>Maintainer: </b>@AnotherZain

0 comments on commit 5fd88b2

Please # to comment.