aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pack.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml
index 26ee2f45..e9fd3a5f 100644
--- a/.github/workflows/pack.yml
+++ b/.github/workflows/pack.yml
@@ -23,12 +23,14 @@ jobs:
- name: Install dependencies
run: pip install pyinstaller
-
+
- name: Build executable
- run: pyinstaller -F ./HydroRollCore/__init__.py
+ run: |
+ cd HydroRollCore # 进入HydroRollCore目录
+ pyinstaller --onefile __init__.py
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: executable
- path: dist/HydroRollCore.exe
+ path: HydroRollCore.exe