mirror of
https://github.com/meshtastic/python.git
synced 2026-01-06 06:47:55 -05:00
27 lines
577 B
YAML
27 lines
577 B
YAML
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
|
|
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
|