Skip to content

Commit e174bbd

Browse files
committed
feat: Добавил автобилд при каждом пуше
1 parent aa82f93 commit e174bbd

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build on Push
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
7+
jobs:
8+
build:
9+
runs-on: windows-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v4
14+
with:
15+
python-version: '3.12'
16+
17+
- name: Install and Build
18+
run: |
19+
pip install pyinstaller
20+
pip install -r requirements.txt
21+
pyinstaller --noconsole --onefile --name "QtLauncher" --add-data "style;style" --add-data "ui;ui" main.py
22+
23+
- name: Upload Build
24+
uses: actions/upload-artifact@v4
25+
with:
26+
name: latest-build
27+
path: dist/

0 commit comments

Comments
 (0)