2023-05-13 14:58:22 +02:00

33 lines
776 B
YAML

name: Package Release
on:
push:
branches:
- main
jobs:
package:
runs-on: windows-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: Build and package
run: pyinstaller --noconfirm --onefile --windowed StartUI.py
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: packaged-files
path: dist # Assuming the packaged files are created in a 'dist' directory