build: update

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-05-05 12:20:37 +02:00
parent 9173124003
commit 9532d9177b
2 changed files with 5 additions and 3 deletions

View File

@ -33,7 +33,7 @@ jobs:
sudo timedatectl set-timezone "Europe/Berlin" sudo timedatectl set-timezone "Europe/Berlin"
sudo apt update sudo apt update
sudo apt install -y jq libelf-dev qemu-utils sudo apt install -y jq gawk cpio gettext libelf-dev qemu-utils busybox dialog curl sed zip unzip
sudo snap install yq sudo snap install yq
- name: Clean Files - name: Clean Files

View File

@ -118,8 +118,10 @@ HOME=$(pwd)
CONFIGS="./configs" CONFIGS="./configs"
rm -f "${CONFIGS}" rm -f "${CONFIGS}"
mkdir -p "${CONFIGS}" mkdir -p "${CONFIGS}"
git clone https://github.com/AuxXxilium/arc-configs -b dev "${CONFIGS}" TAG="$(curl --insecure -m 5 -s https://api.github.com/repos/AuxXxilium/arc-configs/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}')"
while read MODEL; do curl --insecure -s -w "%{http_code}" -L "https://github.com/AuxXxilium/arc-configs/releases/download/${TAG}/configs.zip" -o "./configs.zip"
unzip -oq "./configs.zip" -d "${CONFIGS}" >/dev/null 2>&1
while read -r MODEL; do
MODEL="$(basename ${MODEL})" MODEL="$(basename ${MODEL})"
MODEL="${MODEL::-4}" MODEL="${MODEL::-4}"
CACHE_PATH="${HOME}/cache" CACHE_PATH="${HOME}/cache"