diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..8196549 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build +run-name: "Build ${{ github.ref_name }} by ${{ github.actor }}" + +on: + push: + branches: + - main + pull_request: + +jobs: + build-pdf: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: typst-community/setup-typst@v3 + - run: typst compile main.typ thesis.pdf + - run: typst compile presentation.typ + - name: Upload PDF file + uses: actions/upload-artifact@v4 + with: + name: PDFs + path: "*.pdf"