Refactor update workflow to improve step formatting and remove redundant comments

This commit is contained in:
2026-02-27 22:16:37 +00:00
parent 3649343499
commit da11851aa4

View File

@@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: python:3.9-slim image: python:3.9-slim
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4
# DELETE the "Set up Python" step entirely # DELETE the "Set up Python" step entirely
- name: Update README file - name: Update README file
run: | run: |
# Check if python3 is there, if not, install it quickly # Check if python3 is there, if not, install it quickly
which python3 || (sudo apt-get update && sudo apt-get install -y python3) which python3 || (sudo apt-get update && sudo apt-get install -y python3)
python3 update_profile.py python3 update_profile.py