Files
es24n-conf-windows/.gitea/workflows/build.yml
scott 2cb71699b5
Some checks failed
Build Windows EXE / build (push) Failing after 1m46s
Use REGISTRY_USERNAME and REGISTRY_TOKEN for package registry auth
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 18:16:04 -04:00

33 lines
828 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: Publish to Gitea generic registry
run: |
curl.exe --fail --user "${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_TOKEN }}" `
--upload-file dist\es24n_conf.exe `
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/es24n-conf-windows/${{ github.run_number }}/es24n_conf.exe"