Skip to content

Build README

Build README #5269

Workflow file for this run

name: Build README
on:
schedule:
# - cron: '0 */2 * * *'
- cron: '*/30 * * * *'
workflow_dispatch:
inputs:
unconditional-invoking:
description: '更新ReadMe'
type: boolean
required: true
default: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- uses: actions/cache@v3
name: Configure pip caching
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Python dependencies
run: |
python -m pip install -r requirements.txt
- name: Update README
env:
urls: ${{ secrets.urls }}
run: |-
python apple.py
cat README.md
- name: Commit
uses: EndBug/add-and-commit@v9
with:
message: '更新:小火箭账号'