Skip to content

Commit

Permalink
Use setup-r-dependencies action
Browse files Browse the repository at this point in the history
  • Loading branch information
ateucher committed Jul 3, 2024
1 parent 60620ed commit 67ec6ed
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/quarto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v24

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
# To install LaTeX to build PDF book
tinytex: true
# uncomment below and fill to pin a version
# version: 0.9.600

- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
packages: knitr, rmarkdown, quarto, stringr, purrr

- name: Install R packages
run: |
install.packages(c("knitr", "rmarkdown", "quarto", "stringr", "purrr"))
shell: Rscript {0}

- name: Render PDF
run: |
quarto::quarto_render("_make_pdf.qmd")
Expand Down

0 comments on commit 67ec6ed

Please sign in to comment.