Skip to content

Update render-README.yml #9

Update render-README.yml

Update render-README.yml #9

Workflow file for this run

name: Render README.qmd to Markdown
on:
push:
branches:
- main
jobs:
render:
runs-on: ubuntu-latest
steps:
- name: Checkout repository

Check failure on line 13 in .github/workflows/render-README.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/render-README.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
uses: actions/checkout@v3
- name: Install R and Required Packages
run: |
sudo apt-get update
sudo apt-get install -y r-base
Rscript -e 'if (!requireNamespace("rmarkdown", quietly = TRUE)) install.packages("rmarkdown")'
Rscript -e 'if (!requireNamespace("knitr", quietly = TRUE)) install.packages("knitr")'
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Find and Render README.qmd Files
run: |
find . -name "README.qmd" | while read qmd_file; do
quarto render "$qmd_file" --to html
done