Update main.yml #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Multi-OS Build | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 # Обновлено до v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 # Обновлено до v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pyinstaller | |
| - name: Build EXE | |
| run: | | |
| pyinstaller --noconsole --onefile --icon=shadps4-emulator.ico gui_app.py | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 # ИСПРАВЛЕНИЕ ОШИБКИ: замена v3 на v4 | |
| with: | |
| name: shadPS4-Explorer-Windows | |
| path: dist/*.exe |