Skip to content

Commit 294507b

Browse files
committed
Do not rely on gh cli utility
Since it is only installed by default in GH default images, but may be missing from custom docker images
1 parent 8c7a6fc commit 294507b

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)