Skip to content

feat: Add CC0 license #64

feat: Add CC0 license

feat: Add CC0 license #64

Workflow file for this run

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/action-docker-layer-caching@v0.0.11
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