Inex/.gitea/workflows/build.yaml

22 lines
706 B
YAML
Raw Normal View History

2024-07-17 02:36:15 -05:00
name: Build Inex Executable
2024-07-17 13:24:01 -05:00
run-name: Deploy to ${{ inputs.deploy_target }} by @${{ gitea.actor }}
2024-07-17 02:36:15 -05:00
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12.4'
cache: 'pip' # caching pip dependencies
2024-07-17 13:52:39 -05:00
- run: rm /etc/apt/sources.list.d/mssql-release.list
- run: apt-get install unixodbc
2024-07-17 13:14:56 -05:00
- run: pip install -r requirements.txt
2024-07-17 13:25:20 -05:00
- run: ls ${{ gitea.workspace }}
2024-07-17 13:29:49 -05:00
- run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
2024-07-17 13:14:56 -05:00
- uses: actions/upload-artifact@v4
with:
name: Inex
2024-07-17 13:24:01 -05:00
path: ${{ gitea.workspace }}/output/inex.exe