Skip to content

Commit

Permalink
fix(ci): download arkscript linux gcc 14
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFola committed Sep 22, 2024
1 parent faf1b8e commit 206b822
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 206b822

Please sign in to comment.