From 206b822b6014e60fb39dfcc7c3ebffb469929e31 Mon Sep 17 00:00:00 2001 From: Alexandre Plateau Date: Sun, 22 Sep 2024 13:48:43 +0200 Subject: [PATCH] fix(ci): download arkscript linux gcc 14 --- action.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index 2570e01..850f140 100644 --- a/action.yaml +++ b/action.yaml @@ -13,8 +13,9 @@ runs: - name: Download ArkScript latest release shell: sh run: | - wget -q $(curl -s https://api.github.com/repos/ArkScript-lang/Ark/releases?per_page=1 | grep "browser_download_url.*linux-clang-16.zip" | cut -d : -f 2,3 | tr -d \") - unzip -o linux-clang-16.zip + VERSION=linux-gcc-14 + wget -q $(curl -s https://api.github.com/repos/ArkScript-lang/Ark/releases?per_page=1 | grep "browser_download_url.*${VERSION}.zip" | cut -d : -f 2,3 | tr -d \") + unzip -o ${VERSION}.zip chmod u+x ./arkscript ./arkscript --version