Skip to content

Commit

Permalink
Updated version for build
Browse files Browse the repository at this point in the history
  • Loading branch information
zehdari committed Sep 28, 2024
1 parent 460c278 commit e9abc3b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,24 @@ jobs:

steps:
- uses: actions/checkout@v2

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

- name: Install dependencies
- name: Install dependencies for CentOS
if: matrix.os == 'centos-8'
run: |
python -m pip install --upgrade pip
pip install pyinstaller
sudo yum install -y gcc python3 python3-devel
python3 -m pip install pyinstaller
- name: Build with PyInstaller
run: |
pyinstaller --onefile --windowed SortingApp.py
- name: Upload executable
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: executable
path: dist/*

0 comments on commit e9abc3b

Please sign in to comment.