From f25ab109261b95cd03f5b6c9b4abdd69e6a4f99b 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, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build-demo.yaml b/.gitea/workflows/build-demo.yaml index 3f80108..e538af3 100644 --- a/.gitea/workflows/build-demo.yaml +++ b/.gitea/workflows/build-demo.yaml @@ -9,12 +9,12 @@ jobs: uses: https://gitea.com/actions/checkout@v4 - name: Setup Python - uses: https://gitea.com/actions/setup-python@v4 - with: - python-version: '3.9' + run: | + curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py + python3.9 get-pip.py - name: Install Material for MkDocs - run: pip install mkdocs-material + run: python3.9 -m pip install mkdocs-material - name: Setup Node.js uses: https://gitea.com/actions/setup-node@v4