diff --git a/.github/workflows/build-and-make.yaml b/.github/workflows/build-and-make.yaml index f9f3d70d6..7864279fb 100644 --- a/.github/workflows/build-and-make.yaml +++ b/.github/workflows/build-and-make.yaml @@ -89,7 +89,9 @@ jobs: run: pnpm nx build web --skip-nx-cache - name: Build embedded MPV runtime (macOS release) - if: matrix.os == 'macos' && startsWith(github.ref, 'refs/tags/v') + # TEMPORARY PR TEST: remove `|| github.event_name == 'pull_request'` + # after the macOS Embedded MPV artifact is built and manually tested. + if: matrix.os == 'macos' && (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'pull_request') shell: bash run: | set -euo pipefail @@ -281,7 +283,9 @@ jobs: if: matrix.os != 'macos' || github.event_name == 'pull_request' env: IPTVNATOR_EMBEDDED_MPV_ARCH: ${{ matrix.arch || '' }} - IPTVNATOR_REQUIRE_EMBEDDED_MPV: '0' + # TEMPORARY PR TEST: change this back to '0' after manually + # testing the macOS PR artifact with Embedded MPV included. + IPTVNATOR_REQUIRE_EMBEDDED_MPV: ${{ matrix.os == 'macos' && github.event_name == 'pull_request' && '1' || '0' }} run: pnpm run make:app - name: Verify packaged worker layout @@ -289,7 +293,9 @@ jobs: env: PACKAGE_OS: ${{ matrix.os }} PACKAGE_ARCH: ${{ matrix.arch || '' }} - IPTVNATOR_REQUIRE_EMBEDDED_MPV: ${{ matrix.os == 'macos' && startsWith(github.ref, 'refs/tags/v') && '1' || '0' }} + # TEMPORARY PR TEST: remove the PR branch after manually + # testing the macOS artifact; tagged releases should stay required. + IPTVNATOR_REQUIRE_EMBEDDED_MPV: ${{ matrix.os == 'macos' && (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'pull_request') && '1' || '0' }} run: pnpm run verify:package-layout -- "$PACKAGE_OS" "$PACKAGE_ARCH" - name: Smoke test packaged Flatpak launcher