Skip to content

Commit

Permalink
Remove macos from electron build
Browse files Browse the repository at this point in the history
  • Loading branch information
TarikGul committed Nov 13, 2024
1 parent e63f454 commit 7154796
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 7154796

Please sign in to comment.