dhbw-abb-typst-template/.github/workflows/ci.yml

20 lines
620 B
YAML
Raw Normal View History

2024-07-19 07:23:39 +00:00
name: GitHub Action for checking typst compilation
run-name: Performing Typst compilation
on: [push]
jobs:
run-ci-linux:
runs-on: ubuntu-latest
env:
2024-07-19 07:31:17 +00:00
TYPST_INSTALL: $HOME/.typst
2024-07-19 07:23:39 +00:00
TYPST_VERSION: 0.11.1
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install Typst CLI
run: curl -fsSL https://typst.community/typst-install/install.sh | sh -s "$TYPST_VERSION"
- name: Set up Python 3
run: apt update -y && apt install python3-pip -y
- name: Run CI
2024-07-19 07:31:17 +00:00
run: export PATH="$TYPST_INSTALL/bin:$PATH" && bash -c ./run-ci.sh