From b827520692fee6a147fcbfd9750d89c89fac888e Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 19 Jul 2024 09:36:48 +0200 Subject: [PATCH] added python setup action --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33848c0..6a59f83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,8 @@ jobs: 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 update -y && apt install python3-pip -y + - uses: actions/setup-python@v5 + with: + python-version: '3.11' - name: Run CI run: export PATH="$TYPST_INSTALL/bin:$PATH" && bash -c ./run-ci.sh