build: fix

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-03-10 12:08:06 +01:00
parent 0a305bbb7d
commit d804faddaf
2 changed files with 16 additions and 22 deletions

View File

@ -20,6 +20,11 @@ jobs:
- name: Checkout
uses: actions/checkout@main
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
swap-storage: false
# Install Dependencies
- name: Install Dependencies
run: |
@ -27,12 +32,6 @@ jobs:
git config --global user.name "AuxXxilium"
sudo timedatectl set-timezone "Europe/Berlin"
# Clean up disk space
docker rmi $(docker images -q)
sudo apt update
sudo apt -y purge azure-cli* docker* llvm* google* dotnet* powershell* sphinxsearch* mysql* php*
sudo apt -y full-upgrade
sudo apt update
sudo apt install -y jq gawk libelf-dev qemu-utils
sudo snap install yq
@ -87,7 +86,7 @@ jobs:
sudo mount ${LOOPX}p3 "/tmp/p3"
echo "Get Buildroot"
getBuildroot "2023.02.x" "br"
getBuildroot "2023.08.x" "br"
[ ! -f "br/bzImage-arc" ] || [ ! -f "br/initrd-arc" ] && return 1
echo "Repack initrd"

View File

@ -5,7 +5,7 @@
# See /LICENSE for more information.
#
name: Build Arc
name: Build Arc-A
on:
workflow_dispatch:
@ -14,10 +14,10 @@ on:
description: "format %y.%-m.$i or auto"
required: false
type: string
next:
description: "-next Release"
notice:
description: "Notice here"
required: false
type: boolean
type: string
prerelease:
description: "pre release"
default: false
@ -28,7 +28,7 @@ on:
type: boolean
br_version:
description: "buildroot version"
default: "2023.02.x"
default: "2023.08.x"
type: string
addons_version:
description: "addons version"
@ -72,6 +72,11 @@ jobs:
env:
REPO: ${{ github.repository }}
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
swap-storage: false
# Install Dependencies
- name: Install Dependencies
run: |
@ -79,12 +84,6 @@ jobs:
git config --global user.name "AuxXxilium"
sudo timedatectl set-timezone "Europe/Berlin"
# Clean up disk space
docker rmi $(docker images -q)
sudo apt update
sudo apt -y purge azure-cli* docker* llvm* google* dotnet* powershell* sphinxsearch* mysql* php*
sudo apt -y full-upgrade
sudo apt update
sudo apt install -y jq gawk libelf-dev qemu-utils
sudo snap install yq
@ -105,10 +104,6 @@ jobs:
fi
fi
if [ "${{ inputs.next }}" = "true" ]; then
VERSION="${VERSION}-next"
fi
echo "Version: ${VERSION}"
echo "VERSION=${VERSION}" >> $GITHUB_ENV