增加弹窗异常处理 #42
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: res_build | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'assets/resource_picli/**' | |
- 'assets/interface.json' | |
workflow_dispatch: | |
jobs: | |
update: | |
name: Update Map | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
- name: Setup python | |
uses: actions/[email protected] | |
with: | |
python-version: 3.9 | |
- name: RES ZIP | |
run: | | |
python res_zip.py | |
- name: Commit changes | |
if: ${{ github.repository == 'MAWHA/MWA' }} | |
uses: EndBug/[email protected] | |
with: | |
author_name: github-actions[bot] | |
author_email: github-actions[bot]@users.noreply.github.com | |
message: ':wrench: 自动构建资源包' | |
add: | | |
'res.zip' | |
'version.txt' |