Skip to content

Commit

Permalink
Add Latex compile workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ericthelemur committed Jun 17, 2024
1 parent 7075fc4 commit 9313446
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Generate PDFs

on: push

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Setup Git repository
uses: actions/checkout@v2

- name: Compile Problems
uses: xu-cheng/latex-action@v2
with:
root_file: |
constitution.tex
work_in_root_file_dir: true

- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: UWCS Programming Problem Sets
path: |
constitution.pdf
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
constitution.pdf

0 comments on commit 9313446

Please sign in to comment.