Skip to content

Commit 46da1b7

Browse files
committed
Add a README to install-quarto action
1 parent cf850a5 commit 46da1b7

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

install-quarto/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# install-quarto
2+
3+
Install last Quarto release (https://github.com/quarto-dev/quarto-cli/releases) using GitHub Actions. This action can be used to install Quarto on all runner OS and `quarto` will be available from PATH.
4+
5+
## Usage
6+
7+
Example on different OS:
8+
9+
```yaml
10+
name: quarto-setup
11+
12+
on:
13+
branch: main
14+
15+
jobs:
16+
quarto-linux:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: quarto-dev/quarto-actions/install-quarto@v1
20+
- run: |
21+
quarto --version
22+
quarto-windows:
23+
runs-on: windows-latest
24+
steps:
25+
- uses: quarto-dev/quarto-actions/install-quarto@v1
26+
- run: |
27+
quarto --version
28+
quarto-macos:
29+
runs-on: macos-latest
30+
steps:
31+
- uses: quarto-dev/quarto-actions/install-quarto@v1
32+
- run: |
33+
quarto --version
34+
```
35+
36+
This action will
37+
38+
* Download the Github Release of quarto on Mac and Linux and install it
39+
* On Windows, it will for now use Scoop to install Quarto msi, until I manage to install an MSI file on Github Action.

0 commit comments

Comments
 (0)