Skip to content

Test release

Test release #30

name: Build LaTeX and Release given a tag
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build LaTeX
uses: xu-cheng/latex-action@v3
with:
root_file: main.tex
args: "-lualatex -file-line-error -interaction=nonstopmode"
- name: Upload PDF
uses: actions/upload-artifact@v2
with:
name: PDF
path: main.pdf
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')