```新增cfs费用项配置功能 #72
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 program | |
on: | |
push: | |
branches-ignore: | |
- main | |
tags-ignore: | |
- '!*' | |
jobs: | |
job1: | |
name: pyinstall-build | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
choco install zip | |
- name: install pyinstaller | |
run: | | |
pip install pyinstaller | |
pip uninstall pathlib | |
- name: Build Windows Executable | |
run: | | |
pyinstaller -F -w main.py | |
- name: Upload Windows Executable | |
uses: actions/upload-artifact@v4 | |
with: | |
name: pyinstall(exe) | |
path: dist/main.exe |