Skip to content

Commit

Permalink
Build latex workflow (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
krestenlaust authored Dec 25, 2024
1 parent 06482f3 commit 57b3fff
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-latex.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build LaTeX vedtaegter

on:
push:
tags:
- "*"
branches: [ "master" ]
pull_request:
branches: [ "master" ]

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

jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: fklub-vedtaegter.tex
- name: Upload PDF document
uses: actions/upload-artifact@v4
with:
name: Vedtaegter
path: fklub-vedtaegter.pdf
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
fklub-vedtaegter.pdf
Binary file removed fklub-vedtaegter.pdf
Binary file not shown.

0 comments on commit 57b3fff

Please sign in to comment.