Skip to content

Commit

Permalink
Add LaTeX CI
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker committed Sep 22, 2022
1 parent eba31fa commit 7dd012f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:

jobs:
latex-booklet:
name: "📄 LaTeX booklet"
runs-on: ubuntu-latest
steps:
- name: "📥 Check-out"
uses: actions/checkout@v2
- name: "📅 Get current year"
id: year
run: echo "::set-output name=year::$(date +'%Y')"
- name: "🏗️ Compile booklet"
uses: xu-cheng/latex-action@v2
with:
root_file: booklet.tex
- name: "📤 Upload booklet"
uses: actions/upload-artifact@v2
with:
path: booklet.pdf
name: first-semester-booklet-${{ steps.date.outputs.date }}

0 comments on commit 7dd012f

Please sign in to comment.