Skip to content

add CI comment on PR #25

add CI comment on PR

add CI comment on PR #25

Workflow file for this run

name: Build example
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
branches: [ '**' ]
jobs:
build-example:
runs-on: ubuntu-latest
steps:
- name: Setup typst
uses: yusancky/setup-typst@v2
id: setup-typst
with:
version: 'latest'
- name: Set up Git repository
uses: actions/checkout@v3
- name: typst version
run: typst --version
- name: Compile
run: typst compile --root . example/example.typ
- name: Upload example PDF
uses: actions/upload-artifact@v3
with:
name: ${{ github.sha }}_PDF_EXAMPLE
path: example/example.pdf
if-no-files-found: error