File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4343 gh release download --repo quarto-dev/quarto-cli --pattern ${{ format('*{0}', env.BUNDLE_EXT) }}
4444 elif [ "${{inputs.version}}" == "LATEST" -o "${{inputs.version}}" == "pre-release" ]; then
4545 # get latest pre release version
46- version=$(gh api repos/quarto-dev /quarto-cli/releases | jq -r 'map(select(.prerelease)) | first | .tag_name ')
47- gh release download --repo quarto-dev/quarto-cli $version --pattern ${{ format('*{0}', env.BUNDLE_EXT) }}
46+ version=$(curl https:/ /quarto.org/docs/download/_prerelease.json | grep -o '"version": .*$' | grep -oP '[\d.]+ ')
47+ wget https://github.com/ quarto-dev/quarto-cli/releases/download/v $version/quarto-$version- ${{env.BUNDLE_EXT}}
4848 else
4949 # download a specific release
5050 wget https://github.com/quarto-dev/quarto-cli/releases/download/v${{inputs.version}}/quarto-${{inputs.version}}-${{env.BUNDLE_EXT}}
You can’t perform that action at this time.
0 commit comments