mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Sign the build commits so they can be used on macOS
This commit is contained in:
@@ -66,8 +66,16 @@ jobs:
|
||||
architecture: ${{ matrix.arch }}
|
||||
- name: Setup Ant
|
||||
uses: cedx/setup-ant@v3
|
||||
- name: Install Certificates for Code Signing
|
||||
if: ${{ matrix.os_prefix == 'macos' }}
|
||||
uses: apple-actions/import-codesign-certs@v3
|
||||
with:
|
||||
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
|
||||
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
|
||||
- name: Build Release
|
||||
run: ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ github.sha }}"
|
||||
with:
|
||||
PROCESSING_APP_SIGNING: true
|
||||
- name: Add artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
@@ -51,8 +51,16 @@ jobs:
|
||||
architecture: ${{ matrix.arch }}
|
||||
- name: Setup Ant
|
||||
uses: cedx/setup-ant@v3
|
||||
- name: Install Certificates for Code Signing
|
||||
if: ${{ matrix.os_prefix == 'macos' }}
|
||||
uses: apple-actions/import-codesign-certs@v3
|
||||
with:
|
||||
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
|
||||
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
|
||||
- name: Build Release
|
||||
run: ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ github.sha }}"
|
||||
with:
|
||||
PROCESSING_APP_SIGNING: true
|
||||
- name: Add artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
id: upload
|
||||
|
||||
+1
-1
@@ -778,7 +778,7 @@
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="macos-dist-sign" if="env.PROCESSING_APP_PASSWORD">
|
||||
<target name="macos-dist-sign" if="env.PROCESSING_APP_PASSWORD | env.PROCESSING_APP_SIGNING">
|
||||
<echo>
|
||||
Code signing will only work if you have a $99/yr Apple developer ID.
|
||||
</echo>
|
||||
|
||||
Reference in New Issue
Block a user