Skip to content
This repository was archived by the owner on Sep 12, 2026. It is now read-only.

Small proofs

Small proofs #20

Workflow file for this run

name: Spec PDF
on:
push:
branches: [ "main" ]
paths:
- 'misc/doc.tex'
- 'misc/images/**'
- '.github/workflows/pdf.yml'
pull_request:
paths:
- 'misc/doc.tex'
- 'misc/images/**'
- '.github/workflows/pdf.yml'
workflow_dispatch:
concurrency:
group: pdf-${{ github.ref }}
cancel-in-progress: true
jobs:
check-pdf:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Compile LaTeX
uses: xu-cheng/latex-action@v3
with:
working_directory: misc
root_file: doc.tex
build-pdf:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Compile LaTeX
uses: xu-cheng/latex-action@v3
with:
working_directory: misc
root_file: doc.tex
- name: Publish PDF as release asset
uses: softprops/action-gh-release@v2
with:
tag_name: spec-latest
name: Latest spec PDF
body: Auto-built from `misc/doc.tex` on every push to `main`.
make_latest: false
files: misc/doc.pdf