Skip to content

Merge pull request #18 from ENIB-Community/add-unnecessary-files-to-i… #60

Merge pull request #18 from ENIB-Community/add-unnecessary-files-to-i…

Merge pull request #18 from ENIB-Community/add-unnecessary-files-to-i… #60

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