From 2f61d197ae7e3ca9d375d0f2653a0170cb272dda Mon Sep 17 00:00:00 2001 From: Pelagic Date: Mon, 13 May 2024 14:54:42 +0300 Subject: [PATCH] Attempting to fix the publish action. --- .gitea/workflows/publish.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 18a2641..2d223c8 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -5,7 +5,7 @@ on: [push] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout code @@ -14,6 +14,9 @@ jobs: - name: Set up Python # This is the version of the action for setting up Python, not the Python version. uses: https://github.com/actions/setup-python@v5 + with: + # Semantic version range syntax or exact version of a Python version + python-version: '3.12.3' - name: Display Python version run: python -c "import sys; print(sys.version)"