From 5058a407ff714eec9448fe51cf11dcd32b0f55d9 Mon Sep 17 00:00:00 2001 From: servostar Date: Mon, 1 Jul 2024 19:14:48 +0200 Subject: [PATCH] added install script for typst --- .gitea/workflows/ci.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 38e0961..37bc816 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,14 +1,16 @@ name: Gitea Action for checking typst compilation -run-name: ${{ gitea.actor }} is performing typst compilation +run-name: Performing Typst compilation on: [push] jobs: - Explore-Gitea-Actions: + run-ci-linux: runs-on: ubuntu-latest + env: + TYPST_INSTALL: /usr/local steps: - - run: echo "This job is now running on a ${{ runner.os }}" - - run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - uses: actions/checkout@v3 - - uses: typst-community/setup-typst@v3 - - run: echo "The ${{ gitea.repository }} repository has been cloned to the runner." - - run: bash -c run-ci.sh + - name: Check out repository code + uses: actions/checkout@v3 + - name: Install Typst CLI + run: curl -fsSL https://typst.community/typst-install/install.sh | sh + - name: Run CI + run: bash -c run-ci.sh