From 71547965f99894782eede224522045da2fc69755 Mon Sep 17 00:00:00 2001 From: tarikgul Date: Tue, 12 Nov 2024 20:05:50 -0500 Subject: [PATCH] Remove macos from electron build --- .github/workflows/push-master.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index 4516f359d506..23a8f5c452eb 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -55,7 +55,9 @@ jobs: if: "startsWith(github.event.head_commit.message, '[CI Skip] release/stable')" strategy: matrix: - os: [macos-latest, ubuntu-latest, windows-latest] + # Removed `macos-latest` since notarization errors. + # ref: https://github.com/polkadot-js/apps/issues/10486 + os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -64,12 +66,14 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 'lts/*' - - name: Prepare for app notarization (macOS) - if: startsWith(matrix.os, 'macos') - # Import Apple API key for app notarization on macOS - run: | - mkdir -p ~/private_keys/ - echo '${{ secrets.API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.API_KEY_ID }}.p8 + # Removed `macos-latest` since notarization errors. + # ref: https://github.com/polkadot-js/apps/issues/10486 + # - name: Prepare for app notarization (macOS) + # if: startsWith(matrix.os, 'macos') + # # Import Apple API key for app notarization on macOS + # run: | + # mkdir -p ~/private_keys/ + # echo '${{ secrets.API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.API_KEY_ID }}.p8 - name: Build/release Electron app uses: samuelmeuli/action-electron-builder@v1 with: