Skip to content

docs: Add media player and notification features to README #31

docs: Add media player and notification features to README

docs: Add media player and notification features to README #31

Workflow file for this run

# GitHub Actions CI/CD Workflow
# Automatically build Windows executable
name: Build Windows EXE
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
name: Build Windows EXE
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt --verbose
echo "=== Installed packages ==="
pip list
shell: pwsh
- name: Verify dependencies
run: |
python -c "import aioesphomeapi; print(f'aioesphomeapi version: {aioesphomeapi.__version__}')"
python -c "import customtkinter; print('customtkinter OK')"
python -c "import pymicro_wakeword; print('pymicro_wakeword OK')"
- name: Build EXE
run: |
python setup.py --build
- name: Check build output
run: |
if (Test-Path "dist\HomeAssistantWindows.exe") {
Write-Host "EXE file built successfully!"
$file = Get-Item dist\HomeAssistantWindows.exe
Write-Host "Size: $([math]::Round($file.Length / 1MB, 2)) MB"
Write-Host "LastWriteTime: $($file.LastWriteTime)"
} else {
Write-Host "EXE file build failed!"
exit 1
}
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: ha-windows-exe
path: dist/HomeAssistantWindows.exe
retention-days: 30