Skip to content

Commit 295c1b8

Browse files
authored
Create main.yml
1 parent 6b9e862 commit 295c1b8

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/main.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Multi-OS Build
2+
3+
on:
4+
push:
5+
branches: [ main ] # Сборка начнется, как только ты отправишь код
6+
7+
jobs:
8+
build:
9+
strategy:
10+
matrix:
11+
os: [windows-latest, ubuntu-latest, macos-latest]
12+
runs-on: ${{ matrix.os }}
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Set up Python
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.10'
20+
21+
- name: Install PyInstaller
22+
run: pip install pyinstaller
23+
24+
- name: Build App
25+
run: |
26+
# Для Windows собираем .exe, для остальных исполняемый файл
27+
pyinstaller --noconsole --onefile gui_app.py
28+
29+
- name: Upload Artifact
30+
uses: actions/upload-artifact@v3
31+
with:
32+
name: shadPS4-Explorer-${{ matrix.os }}
33+
path: dist/*

0 commit comments

Comments
 (0)