Workflow update

pull/1/head
Jeremiah K 2023-04-21 00:33:35 -05:00
rodzic ad0793ce10
commit 8905277da0
2 zmienionych plików z 19 dodań i 26 usunięć

Wyświetl plik

@ -1,36 +1,29 @@
name: Build Windows Executable
on:
create:
tags:
- v*
branches:
- main
on: push
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: Build executable
run: pyinstaller --name=mmrelay.exe --onefile --console main.py
- name: Build Windows Executable
run: |
pyinstaller --onefile main.py
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: meshtastic-matrix-relay-windows
path: dist/main.exe
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: mmrelay
path: dist/mmrelay.exe

Wyświetl plik

@ -90,7 +90,7 @@ python main.py
```
Example output:
```
$ python main.py
$ python main.py
INFO:meshtastic.matrix.relay:Starting Meshtastic <==> Matrix Relay...
INFO:meshtastic.matrix.relay:Connecting to radio at meshtastic.local ...