From 6750ce8589c3f9b958bdddf15010ad5e18e75e83 Mon Sep 17 00:00:00 2001 From: Cdm2883 Date: Sat, 10 Aug 2024 18:06:06 +0800 Subject: [PATCH] ci: fix python installing --- .gitea/workflows/build-demo.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-demo.yaml b/.gitea/workflows/build-demo.yaml index a28bda3..aa009a3 100644 --- a/.gitea/workflows/build-demo.yaml +++ b/.gitea/workflows/build-demo.yaml @@ -3,13 +3,15 @@ on: [push] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu20.04 steps: - name: Checkout master uses: https://gitea.com/actions/checkout@v4 - name: Setup Python - uses: https://gitea.com/actions/setup-python@v1 + uses: https://gitea.com/actions/setup-python@v2 + with: + python-version: 3.9.1 - name: Install Material for MkDocs run: pip install mkdocs-material