File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -52,26 +52,21 @@ jobs:
52
52
- name : Setup Ant
53
53
uses : cedx/setup-ant@v3
54
54
- name : Install Certificates for Code Signing
55
- if : ${{ matrix.os_prefix == 'macos' }}
55
+ env :
56
+ cert_secret : ${{ secrets.CERTIFICATES_P12 }}
57
+ if : ${{ matrix.os_prefix == 'macos' && secrets.CERTIFICATES_P12 != '' }}
56
58
uses : apple-actions/import-codesign-certs@v3
57
59
with :
58
60
p12-file-base64 : ${{ secrets.CERTIFICATES_P12 }}
59
61
p12-password : ${{ secrets.CERTIFICATES_P12_PASSWORD }}
60
62
- name : Build Release
61
63
run : ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ github.sha }}"
62
64
env :
63
- PROCESSING_APP_SIGNING : true
65
+ PROCESSING_APP_SIGNING : secrets.CERTIFICATES_P12 != ''
64
66
- name : Add artifact
65
67
uses : actions/upload-artifact@v3
66
68
id : upload
67
69
with :
68
70
name : processing-${{github.sha}}${{ matrix.os_prefix }}-${{ matrix.arch }}
69
71
path : ./build/${{ matrix.os_prefix }}/processing-${{github.sha}}-${{ matrix.os_prefix}}-*
70
72
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 }}).
You can’t perform that action at this time.
0 commit comments