v5.24 增加命途判定,增加分辨率适配 #144
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: Debug build | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**.py' | |
workflow_dispatch: ~ | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.8 | |
- name: Build | |
run: | | |
pip install -r requirements_notif.txt | |
pyinstaller --uac-admin -F --i imgs/icon.png -w notif.py | |
ren dist AutoSimulatedUniverse | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: AutoSimulatedUniverse | |
path: AutoSimulatedUniverse |