We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37a1e04 commit a4909f3Copy full SHA for a4909f3
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,33 @@
1
+name: Pyinstaller builds
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ tags:
7
+ - 'v*'
8
9
+jobs:
10
+ build-windows:
11
+ runs-on: windows-2019
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v3
15
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v4
18
+ with:
19
+ python-version: '3.10'
20
21
+ - name: Install binarylane-cli
22
+ run: pip install .
23
24
+ - name: Install PyInstaller
25
+ run: pip install pyinstaller
26
27
+ - name: Run PyInstaller
28
+ run: pyinstaller --name bl --onefile --copy-metadata binarylane-cli --collect-submodules binarylane src/binarylane/console/__main__.py
29
30
+ - uses: actions/upload-artifact@v3
31
32
+ name: windows
33
+ path: dist/*
0 commit comments