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