Skip to content

Add python-version to fix warning #10

Add python-version to fix warning

Add python-version to fix warning #10

Workflow file for this run

on:
schedule:
- cron: '*/30 * * * *'
push:
branches:
- '*'
pull_request:
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/setup-python@main
with:
python-version: "3.x"
- uses: astral-sh/setup-uv@main
- uses: actions/checkout@main
- run: uv run generate.py
- run: git config --local user.email [email protected]
- run: git config --local user.name "GitHub Action's update job"
- run: git add .
- run: git commit -m 'Update progress values'
- uses: ad-m/github-push-action@master
if: |
github.repository_owner == 'm-aciek'
&& github.event_name != 'pull_request'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- uses: actions/upload-artifact@v4
with:
name: generated-files
path: |
index.html
style.css