diff --git a/.github/workflows/create-executables.yml b/.github/workflows/create-executables.yml new file mode 100644 index 0000000..a4751fb --- /dev/null +++ b/.github/workflows/create-executables.yml @@ -0,0 +1,42 @@ +name: Create Executables + +on: + workflow_dispatch: + release: + types: + - created + push: + branches: + - github-actions + +jobs: + pyinstaller-build-windows: + runs-on: windows-latest + steps: + - name: Create Executables (Windows) + uses: sayyid5416/pyinstaller@v1 + with: + python_ver: '3.11' + spec: 'main.spec' + requirements: 'requirements.txt' + upload_exe_with_name: 'Zordon' + pyinstaller-build-linux: + runs-on: ubuntu-latest + steps: + - name: Create Executables (Linux) + uses: sayyid5416/pyinstaller@v1 + with: + python_ver: '3.11' + spec: 'main.spec' + requirements: 'requirements.txt' + upload_exe_with_name: 'Zordon' + pyinstaller-build-macos: + runs-on: macos-latest + steps: + - name: Create Executables (macOS) + uses: sayyid5416/pyinstaller@v1 + with: + python_ver: '3.11' + spec: 'main.spec' + requirements: 'requirements.txt' + upload_exe_with_name: 'Zordon' diff --git a/.github/workflows/pyinstaller.yml b/.github/workflows/pyinstaller.yml deleted file mode 100644 index b3258c8..0000000 --- a/.github/workflows/pyinstaller.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Create Executables - -on: - workflow_dispatch: - release: - types: - - created - push: - branches: - - github-actions - -jobs: - pyinstaller-build: - runs-on: windows-latest - steps: - - name: Create Executable (Windows) - uses: sayyid5416/pyinstaller@v1 - with: - python_ver: '3.11' - spec: 'main.spec' - requirements: 'requirements.txt' - upload_exe_with_name: 'Zordon'