From 2c9c40838a169d272810fe500310e316d0cbc2b9 Mon Sep 17 00:00:00 2001 From: Peter Suh <85427533+PeterSuh-Q3@users.noreply.github.com> Date: Sat, 9 Dec 2023 00:58:09 +0900 Subject: [PATCH] Update buildroot.yml --- .github/workflows/buildroot.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/buildroot.yml b/.github/workflows/buildroot.yml index e5acd0d0..e3994295 100644 --- a/.github/workflows/buildroot.yml +++ b/.github/workflows/buildroot.yml @@ -55,8 +55,11 @@ jobs: echo "Version: ${VERSION}" echo '---start make---' make ${{github.event.inputs.board}}_defconfig - make linux-defconfig # 또는 make linux-menuconfig make + + KERNEL_VERSION="$(grep BR2_LINUX_KERNEL_VERSION ${{github.event.inputs.board}}_defconfig | cut -d'=' -f2 | tr -d '"')" + echo "KERNEL_VERSION=${KERNEL_VERSION}" >> $GITHUB_ENV + cp -r /opt/buildroot/output/images /opt/firmware - name: Upload buildroot-${{github.event.inputs.branches-tags}}-${{github.event.inputs.board}} uses: actions/upload-artifact@v3