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'
3
3
description : ' This action will setup Quarto from the git repository https://github.com/quarto-dev/quarto-cli/'
4
4
inputs :
5
5
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.'
7
7
required : false
8
8
tinytex :
9
9
description : ' If true, install TinyTex, required for PDF rendering'
39
39
if [ ${{ runner.os }} != "Windows" ]; then
40
40
# On Windows scoop will be used so no need to download the release
41
41
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
42
46
# download the latest release
43
47
gh release download --repo quarto-dev/quarto-cli --pattern ${{ format('*{0}', env.BUNDLE_EXT) }}
44
48
else
You can’t perform that action at this time.
0 commit comments