diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5c3ffed..e730deb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,14 +10,14 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: asdf-vm/actions/install@v2 - run: scripts/lint.bash actionlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check workflow files uses: docker://rhysd/actionlint:1.6.23 with: diff --git a/lib/utils.bash b/lib/utils.bash index eb615d7..74018b7 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -42,7 +42,7 @@ download_release() { filename="$2" # TODO: Adapt the release URL convention for stackitcli - url="$GH_REPO/archive/v${version}.tar.gz" + url="$GH_REPO/archive/stackit-cli_${version}_linux_amd64.tar.gz" echo "* Downloading $TOOL_NAME release $version..." curl "${curl_opts[@]}" -o "$filename" -C - "$url" || fail "Could not download $url"