Skip to content

Update software package #31

Update software package

Update software package #31

Workflow file for this run

name: Update software package
on:
push:
branches:
- main
- PR
# 每个月第31天 两个月更新一次
# 1 Minute [0,59]
# 2 Hour [0,23]
# 3 Day of the month [1,31]
# 4 Month of the year [1,12]
# 5 Day of the week ([0,6] with 0=Sunday)
schedule:
- cron: '0 3 31 * *'
workflow_dispatch:
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install requests
run: pip install requests
- name: Update rtthread_softlist.md
run: |
git submodule init
git submodule update --remote
rm packages/arduino -rf
python update_softpackage.py
- name: Push to GitHub
uses: EndBug/add-and-commit@v9
with:
message: "🎆 docs: Update softpackage.py"