Skip to content

Commit 9218329

Browse files
committed
Do not rely on gh cli utility
1 parent 8c7a6fc commit 9218329

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ 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
59-
# get latest pre release version
59+
# get latest pre release version
6060
version=$(curl https://quarto.org/docs/download/_prerelease.json | jq -r '.version')
6161
wget https://github.com/quarto-dev/quarto-cli/releases/download/v$version/quarto-$version-${{env.BUNDLE_EXT}}
6262
echo "version=${version}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)