Skip to content

Build TAG Sponsor Document LaTeX base #3

Build TAG Sponsor Document LaTeX base

Build TAG Sponsor Document LaTeX base #3

Workflow file for this run

name: Build TAG Sponsor Document LaTeX base
on:
push:
tags:
- '*'
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: sponsordoc.tex
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: sponsordoc
path: sponsordoc.pdf
deploy:
name: Create Release
needs: build_latex
runs-on: ubuntu-latest
steps:
- name: Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
release_name: Sponsordoc ${{ github.ref }}
files: sponsordoc.pdf