From 2f3e32990a51e7e3ec0b1ea240aa495c04cdaa46 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Wed, 13 Jan 2021 13:52:23 +0100 Subject: [PATCH] Update macos.yml --- .github/workflows/macos.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 0d54f783..29f35bfa 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -7,7 +7,9 @@ jobs: matrix: include: - arch: x86_64 + electron_setup_cmd: 'true' - arch: arm64 + electron_setup_cmd: 'yarn add -D electron@11.1.1' steps: - name: Checkout @@ -28,8 +30,7 @@ jobs: yarn - name: Upgrade Electron for ARM builds - if: ${{ matrix.arch == 'arm64' }} - run: yarn add -D electron@11.1.1 + run: ${{ matrix.electron_setup_cmd }} - name: Build native deps run: scripts/build-native.js