diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fff84bc..ee61977 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,8 +40,7 @@ jobs: build-apps: strategy: matrix: - # os: [windows-latest, ubuntu-latest, macos-latest] - os: [windows-latest, ubuntu-latest] + os: [windows-latest, ubuntu-latest, macos-latest] include: - os: windows-latest pyinstaller-build-options: --target-arch=64bit @@ -55,11 +54,11 @@ jobs: package-options: -czf package-extension: tgz - # - os: macos-latest - # pyinstaller-options: --console --icon ../../assets/sc64_logo_256_256.png - # package-name: sc64-macos - # package-options: -czf - # package-extension: tgz + - os: macos-latest + pyinstaller-options: --console --icon ../../assets/sc64_logo_256_256.png + package-name: sc64-macos + package-options: -czf + package-extension: tgz runs-on: ${{ matrix.os }} @@ -93,7 +92,7 @@ jobs: run: pip3 install -r requirements.txt working-directory: sw/pc - - name: Create sc64 executable + - name: Create sc64.py executable run: python3 -m PyInstaller --clean --onefile ${{ matrix.pyinstaller-options }} sc64.py working-directory: sw/pc @@ -111,8 +110,8 @@ jobs: name: ${{ matrix.package-name }} path: sw/pc/package/${{ matrix.package-name }}.${{ matrix.package-extension }} - # - name: Upload release assets - # if: github.event_name == 'release' && github.event.action == 'created' - # uses: softprops/action-gh-release@v0.1.15 - # with: - # files: sw/pc/package/${{ matrix.package-name }}.${{ matrix.package-extension }} + - name: Upload release assets + if: github.event_name == 'release' && github.event.action == 'created' + uses: softprops/action-gh-release@v0.1.15 + with: + files: sw/pc/package/${{ matrix.package-name }}.${{ matrix.package-extension }}