Skip to content

Commit 24902d4

Browse files
authored
Update main.yml
1 parent c03e97c commit 24902d4

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/main.yml

+5-12
Original file line numberDiff line numberDiff line change
@@ -25,30 +25,23 @@ jobs:
2525
- name: Setup Python
2626
uses: actions/setup-python@v5.3.0
2727
with:
28-
python-version: '3.8.10'
28+
python-version: '3.10.11'
2929
architecture: ${{ matrix.arch }}
30-
- name: Setup uv
31-
uses: astral-sh/setup-uv@v4
3230
- name: Run Windows build
3331
if: ${{ matrix.os == 'windows-latest' }}
3432
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
4235
4336
- name: Upload
4437
uses: actions/upload-artifact@v4.4.2
4538
with:
4639
name: ${{ matrix.os }}-${{ matrix.arch }}
47-
path: ./build/GUI
40+
path: ./dist/*.exe
4841

4942
- name: Compress GUI contents
5043
run: |
51-
Compress-Archive -Path ./Build/GUI/* -DestinationPath gui_contents.zip
44+
Compress-Archive -Path ./dist/* -DestinationPath gui_contents.zip
5245
5346
- name: Upload assets to GitHub Release
5447
if: github.event_name == 'release' && github.event.action == 'published'

0 commit comments

Comments
 (0)