add github actions builds

This commit is contained in:
2026-03-07 14:55:11 -06:00
parent 6f37bcb081
commit 48b1d0be03

38
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,38 @@
name: build
on:
release:
types: [created]
jobs:
build:
strategy:
matrix:
include:
- os: ubuntu-latest
output: confy-linux
- os: macos-latest
output: confy-macos
- os: windows-latest
output: confy-windows.exe
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: set up python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: install pyinstaller
run: pip install pyinstaller
- name: build
run: pyinstaller --onefile main.py --name ${{ matrix.output }}
- name: upload to release
uses: softprops/action-gh-release@v2
with:
files: dist/${{ matrix.output }}