From 86f6be54545f5955180603d2500e25e78ef5c4a5 Mon Sep 17 00:00:00 2001 From: Manoah Tervoort <149895ja@gmail.com> Date: Thu, 19 Dec 2024 19:34:13 +0100 Subject: [PATCH] ci: only run for macos --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e581a47d3..fbaa30e6e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,13 +19,13 @@ jobs: matrix: os: [ubuntu-latest, macos-13, macos-latest, windows-latest] steps: - - if: ${{ inputs.checkout-latest == true }} - name: Check out master branch + - name: Check out master branch + if: ${{ inputs.checkout-latest == true }} uses: actions/checkout@v4 with: ref: master - - if: ${{ inputs.checkout-latest == false }} - name: Check out Git repository + - name: Check out Git repository + if: ${{ inputs.checkout-latest == false }} uses: actions/checkout@v4 - name: Setup Node uses: actions/setup-node@v4 @@ -62,6 +62,7 @@ jobs: security import $CERTIFICATE_PATH -P "$MAC_CERTIFICATE_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH security list-keychain -d user -s $KEYCHAIN_PATH - name: Run security find-identity -v + if: runner.os == 'macOS' run: security find-identity -v - name: Build and Publish Electron App run: |