remove bash usage and revert for runner and add escape characters #76
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 | |
release: | |
types: [published] | |
jobs: | |
pyinstaller-build-mac: | |
runs-on: macos-latest | |
steps: | |
- name: Create Executable | |
uses: unofficial-rev-port/pyinstaller@v1.2 | |
with: | |
python_ver: '3.12' | |
pyinstaller_ver: '==6.6.0' | |
spec: 'REVHubInterface.spec' | |
requirements: 'pyinstaller-build-reqs.txt' | |
clean_checkout: false | |
upload_exe_with_name: 'REVHubInterface_Mac_Binary' | |
- name: Make DMG | |
uses: unofficial-rev-port/create-dmg-action-fixed-icon@v0.0.4 | |
with: | |
name: 'REVHubInterface' | |
srcdir: './dist/REVHubInterface.app' | |
- name: Upload DMG | |
uses: actions/upload-artifact@v4 | |
with: | |
name: 'REVHubInterface_Mac_DMG' | |
path: './REVHubInterface.dmg' | |
pyinstaller-build-win: | |
runs-on: windows-latest | |
steps: | |
- name: Create Executable | |
uses: unofficial-rev-port/pyinstaller@v1.2 | |
with: | |
python_ver: '3.12' | |
pyinstaller_ver: '==6.6.0' | |
spec: 'REVHubInterface.spec' | |
requirements: 'pyinstaller-build-reqs.txt' | |
clean_checkout: false | |
upload_exe_with_name: 'REVHubInterface_Windows' | |
pyinstaller-build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create Executable | |
uses: unofficial-rev-port/pyinstaller@v1.2 | |
with: | |
python_ver: '3.12' | |
pyinstaller_ver: '==6.6.0' | |
spec: 'REVHubInterface.spec' | |
requirements: 'pyinstaller-build-reqs.txt' | |
clean_checkout: false | |
upload_exe_with_name: 'REVHubInterface_Linux' | |
- name: Upload version file for testing | |
uses: actions/upload-artifact@v4 | |
with: | |
name: 'version' | |
path: './REVHubInterface/_version.py' |