Skip to content

Commit

Permalink
Add GitHub build
Browse files Browse the repository at this point in the history
  • Loading branch information
pohlm01 committed Dec 11, 2024
1 parent 5283911 commit d110978
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit d110978

Please sign in to comment.