We can use the action (with modification) https://github.com/Becksteinlab/zarrtraj/blob/main/.github/workflows/draft-pdf.yml to build the PDF as an artifact.