We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e47e60 commit 40da719Copy full SHA for 40da719
.github/workflows/build-windows.yml
@@ -0,0 +1,34 @@
1
+name: Build Windows EXE
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
+jobs:
9
+ build-windows:
10
+ runs-on: windows-latest
11
12
+ steps:
13
+ - name: Check out repo
14
+ uses: actions/checkout@v3
15
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v4
18
+ with:
19
+ python-version: '3.11'
20
21
+ - name: Install dependencies
22
+ run: |
23
+ python -m pip install --upgrade pip
24
+ pip install pyinstaller
25
26
+ - name: Build EXE
27
28
+ pyinstaller --onefile your_script.py
29
30
+ - name: Upload artifact
31
+ uses: actions/upload-artifact@v3
32
33
+ name: my-windows-exe
34
+ path: dist/your_script.exe
0 commit comments