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

20 lines
555 B
YAML
Raw Normal View History

2024-07-01 14:17:54 +00:00
name: Gitea Action for checking typst compilation
2024-07-01 17:14:48 +00:00
run-name: Performing Typst compilation
2024-07-01 14:17:54 +00:00
on: [push]
jobs:
2024-07-01 17:14:48 +00:00
run-ci-linux:
2024-07-01 14:17:54 +00:00
runs-on: ubuntu-latest
2024-07-01 17:14:48 +00:00
env:
TYPST_INSTALL: /usr/local
TYPST_VERSION: 0.11.1
2024-07-01 14:17:54 +00:00
steps:
2024-07-01 17:14:48 +00:00
- 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 install python3-pip
2024-07-01 17:14:48 +00:00
- name: Run CI
2024-07-01 17:25:45 +00:00
run: bash -c ./run-ci.sh