Skip to content

Commit

Permalink
Update render-and-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes authored Jan 15, 2025
1 parent 20374ce commit 716ccb7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/render-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,21 @@ jobs:
- name: Set up R (needed for Rmd)
uses: r-lib/actions/setup-r@v2

- name: Install remotes; needed for next line
run: Rscript -e 'install.packages(c("remotes"))'

- name: Install gt; no binary on cran
run: Rscript -e 'install.packages(c("gt"))'
# uncomment if runner changed to unbuntu because the install_deps step was causing problems for gt
# - name: Install remotes; needed for next line
# run: Rscript -e 'install.packages(c("remotes"))'
#
# - name: Install gt; no binary on cran
# run: Rscript -e 'install.packages(c("gt"))'

- name: Install packages (needed for Rmd)
run: Rscript -e 'remotes::install_deps(quiet = TRUE, upgrade="never", build=FALSE)'

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
env:
# Needed if installing tinytex so do not run into GitHub API rate limits
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# To install LaTeX to build PDF book
tinytex: true
Expand Down

0 comments on commit 716ccb7

Please sign in to comment.