Skip to content

Update app_config.py #96

Update app_config.py

Update app_config.py #96

name: Build Windows App
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: PyInstaller
run: |
pyinstaller.exe app.spec
- name: Copy example
run: |
XCOPY /E /I .\data .\dist\sensorview\data
- name: Archive built module
uses: actions/upload-artifact@v4
if: success()
with:
name: sensorview
path: .\dist\sensorview