chore: Delete LICENSE to change to CC0 #63
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 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: satackey/[email protected] | |
continue-on-error: true | |
name: Enable docker cache | |
- uses: xu-cheng/latex-action@v3 | |
name: "Compile document 1/2" | |
with: | |
root_file: main.tex | |
args: -synctex=1 -interaction=nonstopmode -file-line-error -pdf | |
- uses: xu-cheng/latex-action@v3 | |
name: "Compile document 2/2" | |
with: | |
root_file: main.tex | |
args: -synctex=1 -interaction=nonstopmode -file-line-error -pdf | |
pre_compile: "bibtex main; makeindex main.nlo -s nomencl.ist -o main.nls" | |
post_compile: "latexmk -c" | |
- name: Rename main.pdf | |
run: | | |
r=$(git describe --tags --always) | |
mv main.pdf ${r}.pdf | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-pdf | |
path: ./*.pdf |