Skip to content

Commit 3e5a86f

Browse files
authored
Do not rely on gh cli utility (#132)
1 parent 8c7a6fc commit 3e5a86f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ runs:
5252
# On Windows scoop will be used so no need to download the release
5353
if [ "${{inputs.version}}" == "release" ]; then
5454
# download the latest stable release
55-
gh release download --repo github.com/quarto-dev/quarto-cli --pattern ${{ format('*{0}', env.BUNDLE_EXT) }}
5655
version=$(curl https://quarto.org/docs/download/_download.json | jq -r '.version')
56+
wget https://github.com/quarto-dev/quarto-cli/releases/download/v$version/quarto-$version-${{env.BUNDLE_EXT}}
5757
echo "version=${version}" >> $GITHUB_OUTPUT
5858
elif [ "${{inputs.version}}" == "LATEST" -o "${{inputs.version}}" == "pre-release" ]; then
5959
# get latest pre release version

0 commit comments

Comments
 (0)