mirror of
https://github.com/pkivolowitz/asm_book.git
synced 2026-06-25 16:36:44 +08:00
Initial test of pandoc in a GHA
This commit is contained in:
parent
e03f9de15b
commit
43b8374206
1 changed files with 15 additions and 0 deletions
15
.github/workflows/gen_pdf.yaml
vendored
Normal file
15
.github/workflows/gen_pdf.yaml
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
name: Generate PDF
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Generate PDF
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install pandoc and dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt install pandoc texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra
|
||||||
|
- name: Create PDF
|
||||||
|
run: |
|
||||||
|
pandoc README.md -o README.pdf
|
||||||
Loading…
Reference in a new issue