Skip to content

Commit 4030f60

Browse files
committed
Add a workflow to build a patch.exe
1 parent 044cdfe commit 4030f60

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build_exe.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build patch exe for Windows
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
windows_exe:
7+
name: Create windows executable
8+
runs-on: windows-latest
9+
steps:
10+
- uses: ilammy/msvc-dev-cmd@v1
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-python@v5
13+
with:
14+
python-version: 3.12
15+
architecture: x64
16+
- uses: Nuitka/Nuitka-Action@main
17+
with:
18+
nuitka-version: main
19+
script-name: patch_ng.py
20+
mode: onefile
21+
output-dir: build
22+
output-file: patch.exe
23+
- uses: actions/upload-artifact@v4
24+
with:
25+
name: exe
26+
path: build/patch.exe
27+
include-hidden-files: true

0 commit comments

Comments
 (0)