forked from binarylane/binarylane-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (26 loc) · 728 Bytes
/
build.yml
File metadata and controls
33 lines (26 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Pyinstaller builds
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
build-windows:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install binarylane-cli
run: pip install .
- name: Install PyInstaller
run: pip install pyinstaller
- name: Run PyInstaller
run: pyinstaller --name bl --onefile --copy-metadata binarylane-cli --collect-submodules binarylane src/binarylane/console/__main__.py
- uses: actions/upload-artifact@v3
with:
name: windows
path: dist/*