You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'This action will setup Quarto from the git repository https://github.com/quarto-dev/quarto-cli/'
4
+
inputs:
5
+
version:
6
+
description: 'The version of Quarto to use. Either a release tag without "v" prefix (e.g., "0.9.486"), "pre-release" for latest built dev version, or "release", for the latest stable version.'
7
+
required: false
8
+
default: 'release'
9
+
tinytex:
10
+
description: 'If true, install TinyTex, required for PDF rendering'
11
+
required: false
12
+
default: 'false'
13
+
outputs:
14
+
version:
15
+
description: 'The installed version of quarto.'
16
+
runs:
17
+
using: 'composite'
18
+
steps:
19
+
- name: 'Choose which binary to use'
20
+
run: |
21
+
# Select correct bundle for OS type
22
+
case $RUNNER_OS in
23
+
"Linux")
24
+
echo "BUNDLE_EXT=linux-amd64.deb" >> $GITHUB_ENV
25
+
;;
26
+
"macOS")
27
+
echo "BUNDLE_EXT=macos.pkg" >> $GITHUB_ENV
28
+
;;
29
+
"Windows")
30
+
echo "BUNDLE_EXT=win.msi" >> $GITHUB_ENV
31
+
;;
32
+
*)
33
+
echo "$RUNNER_OS not supported"
34
+
exit 1
35
+
;;
36
+
esac
37
+
shell: bash
38
+
working-directory: ${{ runner.temp }}
39
+
- name: 'Download Quarto'
40
+
id: download-quarto
41
+
env:
42
+
GITHUB_TOKEN: ${{ github.token }}
43
+
run: |
44
+
if [ ${{ runner.os }} != "Windows" ]; then
45
+
# On Windows scoop will be used so no need to download the release
0 commit comments