From ed9a5beac506dd4519f934344a74494fa1e23bd9 Mon Sep 17 00:00:00 2001 From: teridax Date: Tue, 2 Jul 2024 08:15:08 +0200 Subject: [PATCH] added: environment variable to set explicit typst version in CI Refs: #12 --- .gitea/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 5229f73..5d4a5a2 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,10 +7,11 @@ jobs: runs-on: ubuntu-latest env: TYPST_INSTALL: /usr/local + 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 + run: curl -fsSL https://typst.community/typst-install/install.sh | sh -s "$TYPST_VERSION" - name: Run CI run: bash -c ./run-ci.sh