修复了当启用小保底必歪时大保底机制不生效的bug #47
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: Build Actions (GUI) | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '**.py' | |
- 'main.yml' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '**.py' | |
- 'main.yml' | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install pyinstaller | |
- name: Build executable | |
run: pyinstaller -F -w gui.py | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: gui | |
path: dist/ |