修复每日免费礼包任务(破词牌乱改ui!!!)修复一些别的任务的小问题 #43
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/setup-python@v5.2.0 | |
with: | |
python-version: 3.9 | |
- name: RES ZIP | |
run: | | |
python res_zip.py | |
- name: Commit changes | |
if: ${{ github.repository == 'MAWHA/MWA' }} | |
uses: EndBug/add-and-commit@v9.1.3 | |
with: | |
author_name: github-actions[bot] | |
author_email: github-actions[bot]@users.noreply.github.com | |
message: ':wrench: 自动构建资源包' | |
add: | | |
'res.zip' | |
'version.txt' |