Build executables #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |