Skip to content

Commit

Permalink
aLSO BUILD LINUX EXEC
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBossMagnus committed Dec 9, 2023
1 parent 89658d1 commit b534a56
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions .github/workflows/Build-pyinstaller.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Build Python .exe with PyInstaller
name: Build Python executable with PyInstaller

on:
push:
workflow_dispatch:

jobs:
build:
build-windows:
runs-on: windows-latest

steps:
Expand All @@ -27,5 +27,30 @@ jobs:
- name: Upload .exe
uses: actions/upload-artifact@v2
with:
name: MrpackChangelogger.exe
path: dist/MrpackChangelogger.exe
name: MrpackChangelogger.exe (Windows)
path: dist/MrpackChangelogger.exe

build-linux:
runs-on: ubuntu-latest

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 aiohttp
- name: Build with PyInstaller
run: |
pyinstaller --onefile --icon=NONE MrpackChangelogger.py
- name: Upload Linux executable
uses: actions/upload-artifact@v2
with:
name: MrpackChangelogger (Linux)
path: dist/MrpackChangelogger

0 comments on commit b534a56

Please sign in to comment.