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

22 lines
603 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
uses: actions/setup-python@v4
with:
2024-07-05 12:54:14 +00:00
python-version: '3.12'
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