Skip to content

Commit

Permalink
Update main.yml (added linux workflow)
Browse files Browse the repository at this point in the history
  • Loading branch information
devansharora18 authored Feb 9, 2024
1 parent 29486fa commit 0f79f71
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,27 @@ jobs:
name: color_palette_macos
path: dist/main

linux:
runs-on: ubuntu-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 linux
run: pyinstaller --onefile main.py
working-directory: ${{ github.workspace }}

- name: Upload linux executable
uses: actions/upload-artifact@v2
with:
name: color_palette_linux
path: dist/main

0 comments on commit 0f79f71

Please sign in to comment.