Trigger Github Actions on main
branch
#20
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
on: | |
push: | |
branches: | |
- main | |
jobs: | |
pyinstaller-build-mac: | |
runs-on: macos-latest | |
steps: | |
- name: Create Executable | |
uses: sayyid5416/pyinstaller@v1 | |
with: | |
python_ver: '3.12' | |
pyinstaller_ver: '==6.6.0' | |
spec: 'REVHubInterface-mac.spec' | |
requirements: 'requirements.txt' | |
upload_exe_with_name: 'REVHubInterface_Mac_Binary' | |
options: --onefile, --name "REVHubInterface", --windowed, --collect-data "sv_ttk", | |
- name: Make DMG | |
uses: QQxiaoming/[email protected] | |
with: | |
name: 'REVHubInterface_Mac_DMG' | |
srcdir: './dist' | |
- name: Upload DMG | |
uses: actions/upload-artifact@v4 | |
with: | |
name: 'REVHubInterface_Mac_DMG' | |
path: './REVHubInterface_Mac_DMG.dmg' | |
pyinstaller-build-win: | |
runs-on: windows-latest | |
steps: | |
- name: Create Executable | |
uses: sayyid5416/pyinstaller@v1 | |
with: | |
python_ver: '3.12' | |
pyinstaller_ver: '==6.6.0' | |
spec: 'REVHubInterface.spec' | |
requirements: 'requirements.txt' | |
upload_exe_with_name: 'REVHubInterface_Windows' | |
options: --onefile, --name "REVHubInterface", --windowed, --collect-data "sv_ttk", | |
pyinstaller-build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create Executable | |
uses: sayyid5416/pyinstaller@v1 | |
with: | |
python_ver: '3.12' | |
pyinstaller_ver: '==6.6.0' | |
spec: 'REVHubInterface.spec' | |
requirements: 'requirements.txt' | |
upload_exe_with_name: 'REVHubInterface_Linux' | |
options: --onefile, --name "REVHubInterface", --windowed, --collect-data "sv_ttk", | |