From bbac4f1ffc9a3b59bd19dd7f6e4105e9dd0596d4 Mon Sep 17 00:00:00 2001 From: 6arelyFuture Date: Mon, 23 Sep 2024 05:48:44 +0000 Subject: [PATCH] chore: update OAT related script --- .gitea/scripts/ci.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/scripts/ci.sh b/.gitea/scripts/ci.sh index 89b35fb..76814df 100755 --- a/.gitea/scripts/ci.sh +++ b/.gitea/scripts/ci.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + # Validate OAT version if [[ -z "$OAT_VERSION" ]]; then echo "No OAT version was specified, please set the OAT_VERSION environment variable." @@ -7,9 +9,10 @@ if [[ -z "$OAT_VERSION" ]]; then fi # Make sure we have cURL (and file for debugging) +echo "Downloading dependencies" dpkg --add-architecture i386 -apt-get update -apt-get install -y curl file libstdc++-13-dev:i386 +apt-get update > /dev/null 2>&1 +apt-get install -y curl file libstdc++-13-dev:i386 > /dev/null 2>&1 # Construct the download URL DOWNLOAD_URL="https://github.com/Laupetin/OpenAssetTools/releases/download/v${OAT_VERSION}/oat-linux.tar.gz"