Skip to content

Commit 5f32f67

Browse files
authored
Merge pull request #908 from processing/skip-signing
Skip signing if the required secrets are not available
2 parents df36fd0 + 1248d45 commit 5f32f67

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

.github/workflows/pull_request.yml

+8-15
Original file line numberDiff line numberDiff line change
@@ -51,27 +51,20 @@ jobs:
5151
architecture: ${{ matrix.arch }}
5252
- name: Setup Ant
5353
uses: cedx/setup-ant@v3
54-
- name: Install Certificates for Code Signing
55-
if: ${{ matrix.os_prefix == 'macos' }}
56-
uses: apple-actions/import-codesign-certs@v3
57-
with:
58-
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
59-
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
54+
# - name: Install Certificates for Code Signing
55+
# if: ${{ matrix.os_prefix == 'macos' }}
56+
# uses: apple-actions/import-codesign-certs@v3
57+
# with:
58+
# p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
59+
# p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
6060
- name: Build Release
6161
run: ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ github.sha }}"
62-
env:
63-
PROCESSING_APP_SIGNING: true
62+
# env:
63+
# PROCESSING_APP_SIGNING: ${{ secrets.CERTIFICATES_P12 != '' }}
6464
- name: Add artifact
6565
uses: actions/upload-artifact@v3
6666
id: upload
6767
with:
6868
name: processing-${{github.sha}}${{ matrix.os_prefix }}-${{ matrix.arch }}
6969
path: ./build/${{ matrix.os_prefix }}/processing-${{github.sha}}-${{ matrix.os_prefix}}-*
7070
retention-days: 5
71-
# TODO: Merge into one comment and fix the link
72-
# - uses: mshick/add-pr-comment@v2
73-
# with:
74-
# message-id: "build-artifact ${{ matrix.os_prefix }} ${{ matrix.arch }}"
75-
# message: |
76-
# Build artifacts for ${{ matrix.os_prefix }} (${{ matrix.arch }}) have been created.
77-
# Download the artifacts [here](${{ steps.upload.outputs.artifact-id }}).

0 commit comments

Comments
 (0)