Skip to content

Update typst.yml

Update typst.yml #3

Workflow file for this run

# Compiles Typst into a PDF and publishes it automatically
name: Compile Typst
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Typst
uses: typst-community/[email protected]
- name: Compile to PDF
run: typst compile main.typ "A Practical Guide to Protein Redesign.pdf"
- name: Publish PDFs in Release
uses: softprops/action-gh-release@v2
with:
files: "*.pdf"