mirror of
https://github.com/meshtastic/python.git
synced 2025-12-30 19:37:52 -05:00
Merge pull request #207 from mkinney/create_build_windows_action
add a build windows action
This commit is contained in:
26
.github/workflows/build_windows.yml
vendored
Normal file
26
.github/workflows/build_windows.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Build and publish Windows .exe
|
||||
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build-and-publish:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
- name: Build exe
|
||||
run: |
|
||||
pip install pyinstaller
|
||||
pip install -r requirements.txt
|
||||
pyinstaller -F -n meshtastic meshtastic/__main__.py
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: meshtastic
|
||||
path: dist
|
||||
Reference in New Issue
Block a user