2024-02-05 20:13:45 +00:00
|
|
|
name: Execute
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 18 * * *'
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
|
|
uses: actions/setup-python@v5
|
|
|
|
with:
|
|
|
|
python-version: "3.11"
|
|
|
|
- name: Install dependencies
|
|
|
|
run: pip install -r requirements.txt
|
|
|
|
- name: Run
|
|
|
|
run: ./build.py
|
|
|
|
- name: Commit changes
|
|
|
|
uses: stefanzweifel/git-auto-commit-action@v5
|
|
|
|
with:
|
2024-02-07 19:49:00 +00:00
|
|
|
commit_message: Update README
|
|
|
|
file_pattern: README.md
|
2024-02-05 20:13:45 +00:00
|
|
|
commit_user_name: GitHub Action
|
|
|
|
commit_user_email: actions@github.com
|
|
|
|
commit_author: GitHub Action <actions@github.com>
|