Remove macos from electron build (#11084)

This commit is contained in:
Tarik Gul 2024-11-12 17:15:34 -08:00 committed by GitHub
parent e63f4544de
commit bf093714d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: