Skip to content

Build latex workflow (#3) #4

Build latex workflow (#3)

Build latex workflow (#3) #4

Workflow file for this run

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