Skip to content

Build executables

Build executables #28

Workflow file for this run

name: "Build executables"
on: [workflow_dispatch]
jobs:
build-linux:
name: Build Linux Executable
runs-on: ubuntu-latest
steps:
- name: "Get source code"
uses: actions/checkout@v2
- name: "Build executable"
uses: JackMcKew/pyinstaller-action-linux@main
with:
path: src
tkinter: true
- name: "Upload artifacts"
uses: actions/upload-artifact@v2
with:
name: BootAnimationLinux64
path: src/dist/linux
build-windows:
name: "Build Windows Executable"
runs-on: ubuntu-latest
steps:
- name: "Get source code"
uses: actions/checkout@v2
- name: "Append pywin32 to requirements"
run: printf "\npywin32\n" >> src/requirements.txt
- name: "Build executable"
uses: JackMcKew/pyinstaller-action-windows@main
with:
path: src
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: BootAnimationWindows64.exe
path: src/dist/windows