diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml new file mode 100644 index 0000000..6751362 --- /dev/null +++ b/.github/workflows/build_windows.yml @@ -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