Skip to content

Commit

Permalink
Added GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zehdari committed Sep 28, 2024
1 parent d945b10 commit c1a394a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build Executable

on: [push]

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
- name: Build with PyInstaller
run: |
pyinstaller --onefile --windowed SortingApp.py
- name: Upload executable
uses: actions/upload-artifact@v2
with:
name: executable
path: dist/*

0 comments on commit c1a394a

Please sign in to comment.