From 48b1d0be031ea348327a8aef209ea64897552f90 Mon Sep 17 00:00:00 2001 From: phluxjr Date: Sat, 7 Mar 2026 14:55:11 -0600 Subject: [PATCH] add github actions builds --- .github/workflows/build.yml | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..3732f63 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 }}