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

20 lines
575 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
2024-07-05 13:06:11 +00:00
run: apt update -y && apt install python3-pip -y
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