From d28b80b304e04086a00be862a81c8acc28953da8 Mon Sep 17 00:00:00 2001 From: iff Date: Tue, 10 Dec 2024 19:40:12 +0100 Subject: [PATCH] chore: update install script --- .github/workflows/build.yaml | 2 +- install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c46c387..38d4400 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -106,7 +106,7 @@ jobs: uses: ncipollo/release-action@v1 with: artifacts: | - *.tar.gz + *.tar.zst *.zip *.deb allowUpdates: true diff --git a/install.sh b/install.sh index df65089..e95f3d8 100644 --- a/install.sh +++ b/install.sh @@ -43,7 +43,7 @@ main() { assert_nz "${_package}" "package" echo "Downloaded package: ${_package}" case "${_package}" in - *.tar.gz) + *.tar.zst) need_cmd tar ensure tar -xf "${_package}" ;; @@ -154,7 +154,7 @@ download_pay_respects() { local _ext case "${_package_url}" in - *.tar.gz) _ext="tar.gz" ;; + *.tar.zst) _ext="tar.zst" ;; *.zip) _ext="zip" ;; *) err "unsupported package format: ${_package_url}" ;; esac