Inex/.gitea/workflows/build.yaml
Jonathan Branan 2342a1a4c2
Some checks failed
Build Inex Executable / Build (push) Failing after 41s
a
2024-07-17 14:16:07 -05:00

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