build: fix

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-08-01 21:04:39 +02:00
parent e59b1212d4
commit e3247b0920

View File

@ -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: |