feat: Add AI-generated SQL statement feature to README.md #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Make executables | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish: | |
name: Executables for ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
artifact_name: Linux | |
artifact_upload_name: Linux | |
asset_name: sqlite-manager-linux-amd64 | |
- os: macos-latest | |
artifact_name: MacOS | |
artifact_upload_name: MacOS | |
asset_name: sqlite-manager-macos-amd64 | |
- os: windows-latest | |
artifact_name: Windows | |
artifact_upload_name: Windows.exe | |
asset_name: sqlite-manager-windows-amd64.exe | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies and python-tgpt | |
run: | | |
python -m pip install --upgrade pip pyinstaller pillow | |
python -m pip install -r requirements.txt | |
- name: Build executable | |
run: | | |
pyinstaller manager.py --onefile --exclude pandas --distpath dist --workpath build --log-level INFO --exclude numpy --exclude matplotlib --exclude PyQt5 --exclude PyQt6 --exclude share --contents-directory . --icon assets/logo.jpeg --noconfirm --name ${{ matrix.artifact_name }} | |
- name: Upload binaries to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: dist/${{ matrix.artifact_upload_name }} | |
asset_name: ${{ matrix.asset_name }} | |
tag: ${{ github.ref }} | |
overwrite: true |