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: inputs:
version: version:
description: "version" description: "version"
default: "2024.02.x" default: "2023.08.x"
type: string type: string
jobs: jobs:
buildroot: buildroot:
@ -38,6 +38,8 @@ jobs:
sudo apt install -y jq gawk cpio gettext libelf-dev qemu-utils sudo apt install -y jq gawk cpio gettext libelf-dev qemu-utils
sudo snap install yq sudo snap install yq
df -h
- name: Build Buildroot - name: Build Buildroot
run: | run: |
git clone https://oauth2:${{ secrets.ACTION }}@github.com/AuxXxilium/arc-v-build.git git clone https://oauth2:${{ secrets.ACTION }}@github.com/AuxXxilium/arc-v-build.git
@ -69,7 +71,7 @@ jobs:
- name: Upload Artifact - name: Upload Artifact
if: success() if: success()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: grub name: grub
path: | path: |
@ -78,10 +80,12 @@ jobs:
# Publish a release if is a tag # Publish a release if is a tag
- name: Release - name: Release
uses: softprops/action-gh-release@v1 if: success() && ${{ inputs.version }} != ''
uses: ncipollo/release-action@v1
with: with:
tag_name: ${{ inputs.version }} tag: ${{ inputs.version }}
files: | allowUpdates: true
artifacts: |
.buildroot/output/images/bzImage .buildroot/output/images/bzImage
.buildroot/output/images/rootfs.cpio.xz .buildroot/output/images/rootfs.cpio.xz
body: | body: |