Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit c556b81

Browse files
authored
Create python-app.yml
1 parent 16bcba2 commit c556b81

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/python-app.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: Python build binary
5+
6+
on:
7+
push:
8+
branches: [ "release" ]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: windows-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Set up Python 3.10
18+
uses: actions/setup-python@v3
19+
with:
20+
python-version: "3.11"
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install pyinstaller
25+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
26+
- name: Build with pyinstaller
27+
run: |
28+
pyinstaller main.spec

0 commit comments

Comments
 (0)