File tree 4 files changed +18
-1
lines changed
4 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 66
66
architecture : ${{ matrix.arch }}
67
67
- name : Setup Ant
68
68
uses : cedx/setup-ant@v3
69
+ - name : Install Certificates for Code Signing
70
+ if : ${{ matrix.os_prefix == 'macos' }}
71
+ uses : apple-actions/import-codesign-certs@v3
72
+ with :
73
+ p12-file-base64 : ${{ secrets.CERTIFICATES_P12 }}
74
+ p12-password : ${{ secrets.CERTIFICATES_P12_PASSWORD }}
69
75
- name : Build Release
70
76
run : ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ github.sha }}"
77
+ env :
78
+ PROCESSING_APP_SIGNING : true
71
79
- name : Add artifact
72
80
uses : actions/upload-artifact@v4
73
81
with :
Original file line number Diff line number Diff line change 51
51
architecture : ${{ matrix.arch }}
52
52
- name : Setup Ant
53
53
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
60
- name : Build Release
55
61
run : ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ github.sha }}"
62
+ env :
63
+ PROCESSING_APP_SIGNING : true
56
64
- name : Add artifact
57
65
uses : actions/upload-artifact@v3
58
66
id : upload
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ jobs:
105
105
- name : Build Release
106
106
run : ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ needs.version.outputs.version }}" -Dplatform=${{ matrix.os_prefix }}
107
107
env :
108
+ PROCESSING_APP_SIGNING : true
108
109
PROCESSING_APP_PASSWORD : ${{ secrets.PROCESSING_APP_PASSWORD }}
109
110
PROCESSING_APPLE_ID : ${{ secrets.PROCESSING_APPLE_ID }}
110
111
PROCESSING_TEAM_ID : ${{ secrets.PROCESSING_TEAM_ID }}
Original file line number Diff line number Diff line change 787
787
</exec >
788
788
</target >
789
789
790
- <target name =" macos-dist-sign" if =" env.PROCESSING_APP_PASSWORD " >
790
+ <target name =" macos-dist-sign" if =" env.PROCESSING_APP_SIGNING " >
791
791
<echo >
792
792
Code signing will only work if you have a $99/yr Apple developer ID.
793
793
</echo >
You can’t perform that action at this time.
0 commit comments