34 lines
748 B
YAML
34 lines
748 B
YAML
on:
|
|
push:
|
|
pull_request:
|
|
workflow_run:
|
|
|
|
name: Build and deploy
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install TeXLive
|
|
run: |
|
|
cd /tmp
|
|
wget "https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz"
|
|
zcat < install-tl-unx.tar.gz | tar xf -
|
|
cd "install-tl-20250121"
|
|
sudo perl ./install-tl --no-interaction
|
|
|
|
- run: ls /usr/local/texlive/2025/bin/x86_64-linux
|
|
|
|
- name: Build LaTeX handouts
|
|
run: python tools/build/main.py
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: output
|
|
path: "output/*"
|
|
retention-days: 10
|