refactor version info so pyinstaller will work; add build mac and ubuntu standalone executables

This commit is contained in:
Mike Kinney committed 2022-01-05 13:22:37 -08:00
1 parent 53d626aa72
commit 3f76c1efb0
6 files changed
+58 -4

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
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 meshtastic/__main__.py
- uses: actions/upload-artifact@v2
with:
name: meshtastic
path: dist
+26
View File
@@ -0,0 +1,26 @@
name: Build and publish ubuntu standalone executable
on: workflow_dispatch
jobs:
build-and-publish:
runs-on: ubuntu-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
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
with:
python-version: 3.9
- name: Build exe
- name: Build
run: |
pip install pyinstaller
pip install -r requirements.txt