Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproduce issue 45 #1

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
25 changes: 25 additions & 0 deletions .github/workflows/generate-pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Generate PDF
on:
pull_request:
types: [opened, synchronize, reopened, labeled]

jobs:
generate-pdf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true
- name: Render Quarto Project
uses: quarto-dev/quarto-actions/render@v2
with:
to: pdf
path: file.qmd

- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: file.pdf
path: file.pdf
20 changes: 20 additions & 0 deletions file.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Testing Quarto
author: Roger Bramon
---

# Purpose

Try to reproduce issue described [here](https://github.com/quarto-dev/quarto-actions/issues/45#issuecomment-1245488165)

Mermaid diagram could be the cause of the problem:


```{mermaid}
graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]
```