From 365db37d919031d11abb07e1eb3010cf9ced270b Mon Sep 17 00:00:00 2001 From: Ignacio Sanchez Gines <863613+drhelius@users.noreply.github.com> Date: Wed, 16 Oct 2024 19:43:06 +0200 Subject: [PATCH] Update gearsystem.yml --- .github/workflows/gearsystem.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gearsystem.yml b/.github/workflows/gearsystem.yml index 4f54595..9001226 100644 --- a/.github/workflows/gearsystem.yml +++ b/.github/workflows/gearsystem.yml @@ -124,7 +124,7 @@ jobs: run: make dist working-directory: platforms/macos - name: Codesign app bundle - if: needs.pr-check.outputs.number == null && github.repository_owner == 'drhelius' + if: github.event_name != 'pull_request' && github.repository_owner == 'drhelius' env: MACOS_CERTIFICATE: ${{ secrets.PROD_MACOS_CERTIFICATE }} MACOS_CERTIFICATE_PWD: ${{ secrets.PROD_MACOS_CERTIFICATE_PWD }} @@ -146,7 +146,7 @@ jobs: codesign -v -vvv --deep "${{ env.NAME_UPPER }}.app" working-directory: platforms/macos - name: Notarize app bundle - if: needs.pr-check.outputs.number == null && github.repository_owner == 'drhelius' + if: github.event_name != 'pull_request' && github.repository_owner == 'drhelius' env: PROD_MACOS_NOTARIZATION_APPLE_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_APPLE_ID }} PROD_MACOS_NOTARIZATION_TEAM_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_TEAM_ID }}