diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a018e00..c83f054 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,18 +30,23 @@ jobs: run: | pyinstaller --onefile --windowed SortingApp.py - # macOS-specific step to set executable permissions - - name: Set permissions for macOS app + # macOS-specific step to set executable permissions and zip the .app bundle + - name: Set permissions and zip .app for macOS if: matrix.os == 'macos-latest' run: | chmod +x dist/SortingApp.app/Contents/MacOS/SortingApp + cd dist + zip -r SortingApp-macOS.zip SortingApp.app # Upload the native Ubuntu/macOS/Windows builds - name: Upload executable (Native Builds) uses: actions/upload-artifact@v3 with: name: executable-${{ matrix.os }} - path: dist/* + path: | + dist/*.zip + dist/*.exe + dist/*.AppImage # Additional step: Build for Red Hat-compatible (via Docker) on Ubuntu - name: Build for Red Hat-compatible (via Docker) @@ -49,7 +54,6 @@ jobs: run: | docker run --rm -v ${{ github.workspace }}:/src -w /src almalinux:8 \ bash -c "yum install -y epel-release && \ - yum groupinstall -y 'C Development Tools and Libraries' && \ yum install -y mesa-libGL-devel python3 python3-devel gcc zlib-devel qt5-qtbase-devel && \ python3 -m pip install wheel && \ python3 -m pip install -r requirements.txt && \