Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

feat: Add workflow dispatch #39

feat: Add workflow dispatch

feat: Add workflow dispatch #39

Workflow file for this run

name: Windows Builds
on:
push:
branches: [ "master", "dev-ui"]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt
- name: Build with Pyinstaller
run: pyinstaller --onedir --add-data "projects;projects" --add-data "logs;logs" --add-data "ui;ui" --add-data "config.yaml:." ui.py
- name: Upload the zip file as artifact
uses: actions/upload-artifact@v4.3.1
with:
name: build-ui
path: dist/ui/*