Skip to content

Update main.yml

Update main.yml #3

Workflow file for this run

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