Skip to content

Commit 365db37

Browse files
authored
Update gearsystem.yml
1 parent 45132ef commit 365db37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/gearsystem.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
run: make dist
125125
working-directory: platforms/macos
126126
- name: Codesign app bundle
127-
if: needs.pr-check.outputs.number == null && github.repository_owner == 'drhelius'
127+
if: github.event_name != 'pull_request' && github.repository_owner == 'drhelius'
128128
env:
129129
MACOS_CERTIFICATE: ${{ secrets.PROD_MACOS_CERTIFICATE }}
130130
MACOS_CERTIFICATE_PWD: ${{ secrets.PROD_MACOS_CERTIFICATE_PWD }}
@@ -146,7 +146,7 @@ jobs:
146146
codesign -v -vvv --deep "${{ env.NAME_UPPER }}.app"
147147
working-directory: platforms/macos
148148
- name: Notarize app bundle
149-
if: needs.pr-check.outputs.number == null && github.repository_owner == 'drhelius'
149+
if: github.event_name != 'pull_request' && github.repository_owner == 'drhelius'
150150
env:
151151
PROD_MACOS_NOTARIZATION_APPLE_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_APPLE_ID }}
152152
PROD_MACOS_NOTARIZATION_TEAM_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_TEAM_ID }}

0 commit comments

Comments
 (0)