Skip to content

Commit 68e69ff

Browse files
committed
signed macos binaries
1 parent 5c27918 commit 68e69ff

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,25 @@ jobs:
237237
export WXL_DIR=../wxlibArm
238238
export OUTDIR=output/makeArm INTDIR=intermediate/makeArm
239239
make mac
240+
- name: Prepare Signature
241+
if: github.event_name != 'pull_request'
242+
env:
243+
CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
244+
run: echo $CERTIFICATE | base64 --decode -o certificate.p12
245+
- name: Sign Command Line Tool
246+
if: github.event_name != 'pull_request'
247+
uses: indygreg/apple-code-sign-action@v1.0
248+
with:
249+
input_path: output/makeArm/nsfplac
250+
p12_file: certificate.p12
251+
p12_password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
252+
- name: Sign Application Bundle
253+
if: github.event_name != 'pull_request'
254+
uses: indygreg/apple-code-sign-action@v1.0
255+
with:
256+
input_path: output/makeArm/nsfplay.app
257+
p12_file: certificate.p12
258+
p12_password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
240259
- name: Prepare Artifacts
241260
run: |
242261
mkdir artifact

0 commit comments

Comments
 (0)