ci:自动构建macos和linux的gui (#327) #280
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: check | |
on: | |
push: | |
branches: | |
- "**" | |
paths: | |
- ".github/workflows/check.yml" | |
- "assets/**" | |
- "**.py" | |
pull_request: | |
branches: | |
- "**" | |
paths: | |
- ".github/workflows/check.yml" | |
- "assets/**" | |
- "**.py" | |
workflow_dispatch: | |
jobs: | |
resource: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# pip install maafw | |
- name: Install maafw | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade maafw --pre | |
- name: Check Resource | |
run: | | |
python ./check_resource.py ./assets/resource/base/ ./assets/resource/bilibili/ ./assets/resource/global_en/ ./assets/resource/global_jp/ |