Update app_config.py #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |