Skip to content

Commit

Permalink
Avoid GH action dependency errors by adding more setup
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Aug 17, 2023
1 parent a05c3fe commit 4b49f79
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,25 @@ jobs:
- name: "Check out repository"
uses: actions/checkout@v3

# To render using knitr, we need a few more setup steps...
# If we didn't want the examples to use `engine: knitr`, we could
# skip a few of the setup steps.
- name: "Setup pandoc"
uses: r-lib/actions/setup-pandoc@v2

- name: "Setup R"
uses: r-lib/actions/setup-r@v2

- name: "Setup R dependencies for Quarto's knitr engine"
uses: r-lib/actions/setup-r-dependencies@v2
with:
packages:
any::knitr
any::rmarkdown
any::downlit
any::xml2

# Back to our regularly scheduled Quarto output
- name: "Set up Quarto"
uses: quarto-dev/quarto-actions/setup@v2

Expand Down

0 comments on commit 4b49f79

Please sign in to comment.