From e983c45572fbb776933db63fbdb16ef8c07428c3 Mon Sep 17 00:00:00 2001 From: Nathan Falvey Date: Fri, 27 Feb 2026 22:12:59 +0000 Subject: [PATCH] Update Gitea workflow to install Python dependencies dynamically --- .gitea/workflows/update.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/update.yaml b/.gitea/workflows/update.yaml index d0746cd..9e0aac5 100644 --- a/.gitea/workflows/update.yaml +++ b/.gitea/workflows/update.yaml @@ -10,12 +10,13 @@ jobs: runs-on: ubuntu-latest container: image: python:3.9-slim - steps: +steps: - name: Checkout Code uses: actions/checkout@v4 - - name: Install dependencies - run: pip install requests - + - name: Update README file - run: python update_profile.py \ No newline at end of file + run: | + # Check if python3 is there, if not, install it quickly + which python3 || (sudo apt-get update && sudo apt-get install -y python3) + python3 update_profile.py \ No newline at end of file