Merge pull request #1276 from agrahn/dvisvgm-bbox #204
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Manual | |
on: [push, pull_request] | |
jobs: | |
manual: | |
runs-on: ubuntu-latest | |
container: | |
image: registry.gitlab.com/islandoftex/images/texlive:latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Fixup Run actions/checkout | |
run: git config --global --add safe.directory '*' | |
- name: Generate the revision file | |
run: | | |
export tagname=$(git describe --abbrev=0 --tags) | |
export revision=$(git describe --tags) | |
export tagdate=$(git log -n 1 "$tagname" --pretty=format:%cs) | |
export revisiondate=$(git log -n 1 "$revision" --pretty=format:%cs) | |
l3build tag --date "$tagdate" "$tagname" | |
cat tex/generic/pgf/pgf.revision.tex | |
- name: Build the manual | |
run: | | |
l3build doc -q | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: pgfmanual | |
path: build/doc/pgfmanual.pdf | |
- name: Deploy tlcontrib | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
apt-get update -qq | |
apt-get install -qq libxml-parser-perl libxml-xpath-perl libtext-unidecode-perl tree | |
cp build/doc/pgfmanual.pdf ../ | |
bash ci/update_tlcontrib.sh |