mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
ci(build): adjust conditions for macOS Embedded MPV artifact in CI workflow
Entire-Checkpoint: c6e522b4276c
This commit is contained in:
1 parent
9f873e6bed
commit
0b5089853f
1 file changed
+9
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user