Inex/.gitea/workflows/build.yaml
Jonathan Branan e66baaee64
All checks were successful
Build Inex Executable / Build (push) Successful in 1m2s
a
2024-07-17 14:25:01 -05:00

23 lines
714 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
- run: ls ${{ gitea.workspace }}
- run: ls ${{ gitea.workspace }}/dist/
- uses: actions/upload-artifact@v3
with:
name: Inex
path: ${{ gitea.workspace }}/dist/inex