diff --git a/setup/action.yml b/setup/action.yml index c50692f..c66e9dd 100644 --- a/setup/action.yml +++ b/setup/action.yml @@ -52,8 +52,8 @@ runs: # On Windows scoop will be used so no need to download the release if [ "${{inputs.version}}" == "release" ]; then # download the latest stable release - gh release download --repo github.com/quarto-dev/quarto-cli --pattern ${{ format('*{0}', env.BUNDLE_EXT) }} version=$(curl https://quarto.org/docs/download/_download.json | jq -r '.version') + wget https://github.com/quarto-dev/quarto-cli/releases/download/v$version/quarto-$version-${{env.BUNDLE_EXT}} echo "version=${version}" >> $GITHUB_OUTPUT elif [ "${{inputs.version}}" == "LATEST" -o "${{inputs.version}}" == "pre-release" ]; then # get latest pre release version