Skip to content

Commit

Permalink
自动打包dev_shawn分支
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoZuohong committed May 4, 2023
1 parent b6a225b commit 17e21f0
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/pyinstaller-win-shawn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: dev_shawn分支自动打包

on:
push:
branches:
- dev_shawn

jobs:
build-win-amd64:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8 amd64
uses: actions/setup-python@v2
with:
python-version: 3.8
architecture: x64
- name: Install dependencies
shell: cmd
run: |
python -m venv venv
venv\Scripts\python -m pip install -r requirements.txt
venv\Scripts\python -m pip install pyinstaller
- name: Make package
shell: cmd
run: |
venv\Scripts\pyinstaller .\menu.spec
- uses: actions/upload-artifact@v3
with:
name: mower
path: dist\mower.exe
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ pandas==1.5.2
pyyaml==6.0
PySimpleGUI~=4.60.4
pytz~=2022.6
ruamel.yaml==0.15.46
ruamel.yaml==0.17.22
paddleocr==2.6.1.3
paddlepaddle==2.4.2

0 comments on commit 17e21f0

Please sign in to comment.