From 8a089605db1a06d83000b739ac6dc0fe8851b4fc Mon Sep 17 00:00:00 2001 From: Cdm2883 Date: Sat, 10 Aug 2024 18:14:03 +0800 Subject: [PATCH] ci: fix python installing --- .gitea/workflows/build-demo.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build-demo.yaml b/.gitea/workflows/build-demo.yaml index 3f80108..09374fa 100644 --- a/.gitea/workflows/build-demo.yaml +++ b/.gitea/workflows/build-demo.yaml @@ -8,13 +8,11 @@ jobs: - name: Checkout master uses: https://gitea.com/actions/checkout@v4 - - name: Setup Python - uses: https://gitea.com/actions/setup-python@v4 - with: - python-version: '3.9' + - name: Install Python + run: apt-get install python3.9 - name: Install Material for MkDocs - run: pip install mkdocs-material + run: python -m pip install mkdocs-material - name: Setup Node.js uses: https://gitea.com/actions/setup-node@v4