docs: add instructions to build pyInstaller binaries locally #3
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
# Crossplatform pyInstaller builds using GitHub Actions | |
name: pyinstaller | |
on: | |
push: | |
branches: | |
- master # $default-branch only works in Workflows templates, not in Workflows, see https://stackoverflow.com/questions/64781462/github-actions-default-branch-variable | |
pull_request: | |
branches: | |
- master | |
jobs: | |
pyinstaller-build: | |
runs-on: [ ubuntu-latest, windows-latest, macos-latest ] | |
steps: | |
- name: Create Executable | |
uses: sayyid5416/pyinstaller@v1 | |
with: | |
python_ver: '*' | |
#spec: 'src/build.spec' | |
#requirements: 'src/requirements.txt' | |
upload_exe_with_name: 'webactogram' | |
options: --onefile, --name "webactogram", --windowed, |