From 93498182d58b7f5adbf6731c5991869aa4a6a478 Mon Sep 17 00:00:00 2001 From: 4gray Date: Sun, 28 Jun 2026 17:12:00 +0200 Subject: [PATCH] fix(ci): use nx-electron publish policy option --- .github/workflows/build-and-make.yaml | 4 ++-- tools/packaging/electron-package-identity.test.mjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-make.yaml b/.github/workflows/build-and-make.yaml index 17f23dadc..894a3bbca 100644 --- a/.github/workflows/build-and-make.yaml +++ b/.github/workflows/build-and-make.yaml @@ -476,7 +476,7 @@ jobs: # TEMPORARY MASTER ARTIFACT TEST: remove `|| github.ref == 'refs/heads/master'` # after the macOS Embedded MPV artifacts are built and manually tested. IPTVNATOR_REQUIRE_EMBEDDED_MPV: ${{ (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master') && '1' || '0' }} - run: pnpm run make:app -- --publish=never + run: pnpm run make:app -- --publishPolicy=never - name: Verify signed macOS app if: matrix.os == 'macos' && github.event_name != 'pull_request' @@ -535,7 +535,7 @@ jobs: # 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 == 'linux' || matrix.os == 'windows' || (matrix.os == 'macos' && github.event_name == 'pull_request')) && '1' || '0' }} - run: pnpm run make:app -- --publish=never + run: pnpm run make:app -- --publishPolicy=never - name: Verify packaged worker layout shell: bash diff --git a/tools/packaging/electron-package-identity.test.mjs b/tools/packaging/electron-package-identity.test.mjs index f69f61219..4edcd317b 100644 --- a/tools/packaging/electron-package-identity.test.mjs +++ b/tools/packaging/electron-package-identity.test.mjs @@ -172,7 +172,7 @@ test('GitHub Releases auto-update metadata is generated and uploaded', () => { assert.ok(makeCommands.length >= 2, 'workflow must package Electron apps'); assert.deepEqual( [...new Set(makeCommands)], - ['pnpm run make:app -- --publish=never'] + ['pnpm run make:app -- --publishPolicy=never'] ); });