This is a template for package maintainers for GitHub-based workflows to compile their documents on GitHub.
It was presented at TUG 2024.
- Minimal example LaTeX package
mypackageproviding the command\TheAnswer. Checkmypacakge.dtx. - A test case for the package. Check
testfiles/verify-answer.*. - Three kinds of TeXLive setups
zauguin/setup-texlive-action- to setup historic TeX Live versions with a defined package list.teatimeguest/setup-texlive-action- to setup historic TeX Live versions with a defined package list.- Island of TeX's TeXLive docker image - to setup a full TeX Live with all available packages.
- How to upload to CTAN using a GitHub action.
- The action zauguion/ctan-upload is used.
- Requires
ctan.annand.github/workflows/deploy.yamlto be adapted before use.
To use this with your package, copy .github/.* to your repository and adapt the files according to your needs.
We recommend using the Dependency Printer for TeX Live to adapt the file .github/tl_packages to contain all required packages.
The main branch contains workflows for all cases.
The other branches contain stripped-down versions.