Getting rid of tinytex #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check whether the files render | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
render-slides: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
file: | |
- slides | |
- report | |
container: | |
image: rocker/tidyverse:4.4.0 | |
steps: | |
# Check out the repository (git clone) | |
- uses: actions/checkout@v4 | |
# Install dependencies (R packages) | |
- name: Install dependencies | |
run: | | |
install2.r data.table slurmR | |
# Render the slides/report using quarto | |
- name: Render ${{ matrix.file }} | |
run: | | |
quarto render ${{ matrix.file }}.qmd --to html | |
# Save the rendered slides/report as an artifact | |
- name: Save as artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
path: ${{ matrix.file }}.html | |
name: ${{ matrix.file }} |