updated gitignore #7
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: Build with PyInstaller | |
on: [push] | |
jobs: | |
windows: | |
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 for Windows | |
run: pyinstaller --onefile main.py | |
working-directory: ${{ github.workspace }} | |
- name: Upload Windows executable | |
uses: actions/upload-artifact@v2 | |
with: | |
name: color_palette_windows | |
path: dist/main.exe | |
macos: | |
runs-on: macos-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 for macOS | |
run: pyinstaller --onefile main.py | |
working-directory: ${{ github.workspace }} | |
- name: Upload macOS executable | |
uses: actions/upload-artifact@v2 | |
with: | |
name: color_palette_macos | |
path: dist/main | |