Skip to content

Commit 6b35869

Browse files
committed
fix: 打包时对exe进行压缩
1 parent 3e66008 commit 6b35869

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ jobs:
2626
- name: Build EXE
2727
run: pyinstaller --onefile --clean --distpath dist src/python/rag.py
2828

29+
- name: Compress EXE with UPX
30+
uses: crazy-max/ghaction-upx@v3
31+
with:
32+
version: latest
33+
files: |
34+
dist/rag.exe
35+
2936
- name: Upload EXE artifact
3037
uses: actions/upload-artifact@v4
3138
with:

0 commit comments

Comments
 (0)