Skip to content

Comment out digest #335

Comment out digest

Comment out digest #335

Workflow file for this run

name: Build
on: [ push, pull_request, workflow_dispatch ]
jobs:
build:
strategy:
matrix:
tex: [ xelatex, lualatex ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Fetch SJTUTeX
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: 'sjtug/SJTUTeX'
file: 'sjtutex.tds.zip'
target: '.github/sjtutex.tds.zip'
- name: Install SJTUTeX
run: |
unzip -o .github/sjtutex.tds.zip "tex/*" -d texmf/
- name: Build
uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: |
latexmk -halt-on-error -time -${{ matrix.tex }} -jobname=output-${{ matrix.tex }} main.tex
- name: Upload output
uses: actions/upload-artifact@v4
with:
path: output-${{ matrix.tex }}.pdf
name: build-${{ matrix.tex }}