Merge pull request #718 from Starry-Wind/main-beta #488
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 更新地图文件 | |
on: | |
push: | |
branches: [ main ] | |
pull_request_target: | |
types: | |
- auto_merge_enabled | |
workflow_dispatch: | |
jobs: | |
update: | |
name: Update Map | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@master | |
- name: Setup python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Update Map | |
run: | | |
python map_res_list.py | |
- name: Commit changes | |
uses: EndBug/[email protected] | |
with: | |
author_name: github-actions[bot] | |
author_email: github-actions[bot]@users.noreply.github.com | |
message: ':wrench: 自动更新资源列表' | |
add: | | |
'star_list.json' | |
'version.json' |