Skip to content

Update app.py

Update app.py #82

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: [radarviz]
pull_request:
branches: [radarviz]
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\radarviz\data
- name: Archive built module
uses: actions/upload-artifact@v4
if: success()
with:
name: radarviz
path: .\dist\radarviz