Files
es24n-conf-windows/.gitea/workflows/build.yml
scott 001d80fed7
Some checks failed
Build Windows EXE / build (push) Failing after 1m56s
Use windows-latest runner label for build job
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 17:36:16 -04:00

44 lines
1023 B
YAML

name: Build Windows EXE
on:
push:
branches: [main]
release:
types: [published]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build EXE
run: pyinstaller es24n_conf.spec
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: es24n_conf-windows
path: dist/es24n_conf.exe
- name: Attach EXE to release
if: github.event_name == 'release'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/es24n_conf.exe
asset_name: es24n_conf.exe
asset_content_type: application/octet-stream