Skip to content

Update main.yml

Update main.yml #2

Workflow file for this run

name: Build with PyInstaller for Windows
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: pip install pyinstaller pyqt6
- name: Build with PyInstaller
run: pyinstaller --onefile main.py
working-directory: ${{ github.workspace }}
- name: Upload executable
uses: actions/upload-artifact@v2
with:
name: color_palette
path: dist/main.exe