From 0f79f7177d39160a2a50b044a8908bee98668611 Mon Sep 17 00:00:00 2001 From: Devansh Arora <68769374+ART3MISTICAL@users.noreply.github.com> Date: Fri, 9 Feb 2024 22:42:45 +0530 Subject: [PATCH] Update main.yml (added linux workflow) --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index acfc981..ea00e43 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 +