File tree Expand file tree Collapse file tree 1 file changed +22
-23
lines changed
Expand file tree Collapse file tree 1 file changed +22
-23
lines changed Original file line number Diff line number Diff line change @@ -2,32 +2,31 @@ name: Multi-OS Build
22
33on :
44 push :
5- branches : [ main ] # Сборка начнется, как только ты отправишь код
5+ branches : [ "main" ]
6+ workflow_dispatch :
67
78jobs :
8- build :
9- strategy :
10- matrix :
11- os : [windows-latest, ubuntu-latest, macos-latest]
12- runs-on : ${{ matrix.os }}
13-
9+ build-windows :
10+ runs-on : windows-latest
1411 steps :
15- - uses : actions/checkout@v3
16- - name : Set up Python
17- uses : actions/setup-python@v4
18- with :
19- python-version : ' 3.10'
12+ - uses : actions/checkout@v4 # Обновлено до v4
13+
14+ - name : Set up Python
15+ uses : actions/setup-python@v5 # Обновлено до v5
16+ with :
17+ python-version : ' 3.10'
2018
21- - name : Install PyInstaller
22- run : pip install pyinstaller
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install pyinstaller
2323
24- - name : Build App
25- run : |
26- # Для Windows собираем .exe, для остальных исполняемый файл
27- pyinstaller --noconsole --onefile gui_app.py
24+ - name : Build EXE
25+ run : |
26+ pyinstaller --noconsole --onefile --icon=shadps4-emulator.ico gui_app.py
2827
29- - name : Upload Artifact
30- uses : actions/upload-artifact@v3
31- with :
32- name : shadPS4-Explorer-${{ matrix.os }}
33- path : dist/*
28+ - name : Upload Artifact
29+ uses : actions/upload-artifact@v4 # ИСПРАВЛЕНИЕ ОШИБКИ: замена v3 на v4
30+ with :
31+ name : shadPS4-Explorer-Windows
32+ path : dist/*.exe
You can’t perform that action at this time.
0 commit comments