From e3247b0920f45e027117efb8a3d4c3028eb18771 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Thu, 1 Aug 2024 21:04:39 +0200 Subject: [PATCH] build: fix Signed-off-by: AuxXxilium --- .github/workflows/buildroot.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/buildroot.yml b/.github/workflows/buildroot.yml index bee222d..b036925 100644 --- a/.github/workflows/buildroot.yml +++ b/.github/workflows/buildroot.yml @@ -12,7 +12,7 @@ on: inputs: version: description: "version" - default: "2024.02.x" + default: "2023.08.x" type: string jobs: buildroot: @@ -37,6 +37,8 @@ jobs: sudo apt update sudo apt install -y jq gawk cpio gettext libelf-dev qemu-utils sudo snap install yq + + df -h - name: Build Buildroot run: | @@ -69,7 +71,7 @@ jobs: - name: Upload Artifact if: success() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: grub path: | @@ -78,10 +80,12 @@ jobs: # Publish a release if is a tag - name: Release - uses: softprops/action-gh-release@v1 + if: success() && ${{ inputs.version }} != '' + uses: ncipollo/release-action@v1 with: - tag_name: ${{ inputs.version }} - files: | + tag: ${{ inputs.version }} + allowUpdates: true + artifacts: | .buildroot/output/images/bzImage .buildroot/output/images/rootfs.cpio.xz body: |