Commit 24902d4 1 parent c03e97c commit 24902d4 Copy full SHA for 24902d4
File tree 1 file changed +5
-12
lines changed
1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -25,30 +25,23 @@ jobs:
25
25
- name : Setup Python
26
26
uses : actions/setup-python@v5.3.0
27
27
with :
28
- python-version : ' 3.8.10 '
28
+ python-version : ' 3.10.11 '
29
29
architecture : ${{ matrix.arch }}
30
- - name : Setup uv
31
- uses : astral-sh/setup-uv@v4
32
30
- name : Run Windows build
33
31
if : ${{ matrix.os == 'windows-latest' }}
34
32
run : |
35
- uv venv
36
- .venv\Scripts\activate
37
- uv pip install -r requirements.txt
38
- uv pip install pyinstaller
39
- pyinstaller GUI.py `
40
- -w `
41
- -i ./icon.ico
33
+ pip install pyinstaller
34
+ pyinstaller --onefile --noconsole --icon=icon.ico GUI.py
42
35
43
36
- name : Upload
44
37
uses : actions/upload-artifact@v4.4.2
45
38
with :
46
39
name : ${{ matrix.os }}-${{ matrix.arch }}
47
- path : ./build/GUI
40
+ path : ./dist/*.exe
48
41
49
42
- name : Compress GUI contents
50
43
run : |
51
- Compress-Archive -Path ./Build/GUI /* -DestinationPath gui_contents.zip
44
+ Compress-Archive -Path ./dist /* -DestinationPath gui_contents.zip
52
45
53
46
- name : Upload assets to GitHub Release
54
47
if : github.event_name == 'release' && github.event.action == 'published'
You can’t perform that action at this time.
0 commit comments