switch to commit file #3
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 Typst PDF | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Typst | |
| uses: typst-community/setup-typst@v4 | |
| with: | |
| typst-version: ^0.13.1 | |
| - name: Compile Typst document | |
| run: | | |
| typst compile MultiMeditron_Simon_Lefort_Summer25.typ MultiMeditron_Simon_Lefort_Summer25.pdf | |
| - name: Commit PDF | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| with: | |
| commit_message: "chore(ci): update compiled PDF" | |
| file_pattern: MultiMeditron_Simon_Lefort_Summer25.pdf |