Skip to content

Commit 6b58ecd

Browse files
committed
Add CI Build
1 parent 6038d70 commit 6b58ecd

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/python-app.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build Python application
2+
3+
on: push
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
build:
10+
runs-on: windows-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
16+
- name: Setup Python
17+
uses: actions/setup-python@main
18+
with:
19+
python-version: "3.x"
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
python -m pip install pyqt5 pillow pyinstaller
25+
26+
- name: Build app
27+
run: pyinstaller --onefile launch.pyw
28+
29+
- name: Upload bin
30+
uses: actions/upload-artifact@v3
31+
with:
32+
name: pyWinContext
33+
path: dist/*.exe

0 commit comments

Comments
 (0)