Skip to content

Commit

Permalink
CI: build pdfs in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jotelha committed Jul 22, 2024
1 parent 255b1e3 commit c101f9d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build_latex.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build pdfs

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:


jobs:
build_via_pandoc:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3

- name: Build dtool ecosystem pdf
working-directory: latex/ecosystem
run: |
pdflatex ecosystem_dtool.tex
- name: Build dserver ecosystem pdf
working-directory: latex/ecosystem
run: |
pdflatex ecosystem_dserver.tex
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
# Upload entire repository
path: |
latex/ecosystem/ecosystem_dtool.pdf
latex/ecosystem/ecosystem_dserver.pdf

0 comments on commit c101f9d

Please sign in to comment.