auto build typst #1
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: Install Typst | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y cargo | |
| cargo install --locked typst-cli | |
| - name: Compile Typst document | |
| run: | | |
| typst compile MultiMeditron_Simon_Lefort_Summer25.typ MultiMeditron_Simon_Lefort_Summer25.pdf | |
| - name: Upload PDF artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: MultiMeditron_Simon_Lefort_Summer25 | |
| path: MultiMeditron_Simon_Lefort_Summer25.pdf |