mirror of
https://github.com/AuxXxilium/arc-v-buildroot.git
synced 2024-11-23 15:00:59 +07:00
build: fix
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
e59b1212d4
commit
e3247b0920
14
.github/workflows/buildroot.yml
vendored
14
.github/workflows/buildroot.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user