Skip to content

Commit 2eadb50

Browse files
authored
Update build.yml
1 parent 6b8f658 commit 2eadb50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ jobs:
6767
- name: Setup Ant
6868
uses: cedx/setup-ant@v3
6969
- name: Install Certificates for Code Signing
70-
if: ${{ matrix.os_prefix == 'macos' }}
70+
if: ${{ matrix.os_prefix == 'macos' && startsWith(github.repository, 'processing/') }}
7171
uses: apple-actions/import-codesign-certs@v3
7272
with:
7373
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
7474
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
7575
- name: Build Release
7676
run: ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ github.sha }}"
7777
env:
78-
PROCESSING_APP_SIGNING: true
78+
PROCESSING_APP_SIGNING: ${{ startsWith(github.repository, 'processing/') }}
7979
- name: Add artifact
8080
uses: actions/upload-artifact@v4
8181
with:

0 commit comments

Comments
 (0)