Build TAG Sponsor Document LaTeX base #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build TAG Sponsor Document LaTeX base | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build_latex: | |
runs-on: ubuntu-latest | |
steps: | |
- id: clone_git | |
name: Set up Git repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
fetch-tags: true | |
- id: apt_get_update | |
name: Update apt-get Caches | |
run: sudo apt-get update | |
- id: install_latex | |
name: Install TexLive packages | |
run: sudo apt-get -y install texlive-full | |
- id: print_git_tag | |
name: Print latest git tag | |
run: git describe --abbrev=0 --tags --always | |
- id: compile_latex_doc | |
name: Compile LaTeX document | |
run: make | |
- id: upload_pdf | |
name: Upload PDF file | |
uses: actions/upload-artifact@v4 | |
with: | |
name: sponsordoc | |
path: sponsordoc.pdf | |
- id: create_release | |
name: Create GH Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: sponsordoc.pdf |