fix ci #18
This file contains hidden or 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: Build Documentation | |
| on: | |
| push: | |
| branches: [ "ctan" ] | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Run l3build check | |
| uses: xu-cheng/texlive-action@v3 | |
| with: | |
| run: | | |
| apk add --no-cache diffutils | |
| l3build check -q -H --show-log-on-error | |
| - name: Upload Test Logs | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test | |
| path: build/test*/*.diff | |
| retention-days: 3 | |
| doc: | |
| runs-on: ubuntu-latest | |
| needs: check | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Run l3build doc | |
| uses: xu-cheng/texlive-action@v3 | |
| with: | |
| run: | | |
| tlmgr update --self | |
| tlmgr repository add https://mirror.ctan.org/systems/texlive/tlcontrib tlcontrib | |
| tlmgr pinning add tlcontrib "*" | |
| tlmgr install classico | |
| l3build doc | |
| - name: Upload Documentation | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: documentation | |
| path: build/doc/*.pdf |