Inex/.gitea/workflows/build.yaml
Jonathan Branan e421b1b376
All checks were successful
Build Inex Executable / Build (push) Successful in 1m18s
Finished linux installer
2024-07-17 14:36:18 -05:00

21 lines
634 B
YAML

name: Build Inex Executable
run-name: Deploy to ${{ inputs.deploy_target }} by @${{ gitea.actor }}
on: [push]
jobs:
Build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12.4'
cache: 'pip' # caching pip dependencies
- run: apt-get update
- run: apt-get install unixodbc -y
- run: pip install -r requirements.txt
- run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
- uses: actions/upload-artifact@v3
with:
name: Inex
path: ${{ gitea.workspace }}/dist/inex