File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ author: 'Christophe Dervieux'
33description : ' This action will setup Quarto from the git repository https://github.com/quarto-dev/quarto-cli/'
44inputs :
55 version :
6- description : ' The version of Quarto to use, as a release tag (eg. 0.9.486). If missing, uses latest version.'
6+ description : ' The version of Quarto to use. Either a release tag (eg. 0.9.486) or "LATEST" . If missing, uses stable version.'
77 required : false
88 tinytex :
99 description : ' If true, install TinyTex, required for PDF rendering'
3939 if [ ${{ runner.os }} != "Windows" ]; then
4040 # On Windows scoop will be used so no need to download the release
4141 if [ -z "${{inputs.version}}" ]; then
42+ STABLE_VERSION=1.0.35
43+ # download the latest stable release
44+ wget https://github.com/quarto-dev/quarto-cli/releases/download/v${STABLE_VERSION}/quarto-${STABLE_VERSION}-${{env.BUNDLE_EXT}}
45+ elif [ "${{inputs.version}}" == "LATEST" ]; then
4246 # download the latest release
4347 gh release download --repo quarto-dev/quarto-cli --pattern ${{ format('*{0}', env.BUNDLE_EXT) }}
4448 else
You can’t perform that action at this time.
0 commit comments