Skip to content

Commit 6a25ec3

Browse files
2 parents 5f3c7bf + f7c1806 commit 6a25ec3

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build Python to EXE
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: windows-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.14"
20+
21+
- name: Install dependencies
22+
run: pip install -r requirements.txt
23+
24+
- name: Build with PyInstaller
25+
uses: eric2788/pyinstaller-build@master
26+
with:
27+
main: src/main
28+
python_version: 3.14
29+
artifact: mod_generator
30+
31+
- name: Upload artifact
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: mod_generator
35+
path: mod_generator.exe

0 commit comments

Comments
 (0)