mirror of
https://github.com/meshtastic/python.git
synced 2026-01-02 12:57:56 -05:00
27 lines
613 B
YAML
27 lines
613 B
YAML
name: Build and publish mac standalone executable
|
|
|
|
on: workflow_dispatch
|
|
|
|
jobs:
|
|
build-and-publish:
|
|
runs-on: macos-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 --collect-all meshtastic meshtastic/__main__.py
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: meshtastic
|
|
path: dist
|