pyInstaller-Builder is a Github Actions workflow that compiles a Python script into Windows, Linux, and macOS.
Copy .github/workflows/build-release.yml
into your repository and edit the environment variables to match your repository:
APP_NAME
: Name of the Python script to be compiledPKG_NAME
: Name for the packaged executable file
Next, ensure that requirements.txt
is created and contains all of your project's dependencies (even if it is empty). The workflow will fail if this file is not present!
The workflow will automatically run upon the creation of a tagged release and generate builds for Windows AMD64, Linux AMD64, and macOS Intel. For an demonstration, see this repository's releases.