File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 74
74
name : Sign macOS payload
75
75
# ESRP service requires signing to run on Windows
76
76
runs-on : windows-latest
77
+ strategy :
78
+ matrix :
79
+ runtime : [ osx-x64, osx-arm64 ]
77
80
needs : osx-build
78
81
steps :
79
82
- name : Check out repository
82
85
- name : Download payload
83
86
uses : actions/download-artifact@v3
84
87
with :
85
- name : tmp.osx -build
88
+ name : tmp.${{ matrix.runtime }} -build
86
89
87
90
- name : Zip unsigned payload
88
91
shell : pwsh
@@ -116,7 +119,9 @@ jobs:
116
119
APPLE_KEY_CODE : ${{ secrets.APPLE_KEY_CODE }}
117
120
APPLE_SIGNING_OP_CODE : ${{ secrets.APPLE_SIGNING_OPERATION_CODE }}
118
121
run : |
119
- python .github\run_esrp_signing.py payload $env:APPLE_KEY_CODE $env:APPLE_SIGNING_OP_CODE --params 'Hardening' '--options=runtime'
122
+ python .github\run_esrp_signing.py payload `
123
+ $env:APPLE_KEY_CODE $env:APPLE_SIGNING_OP_CODE `
124
+ --params 'Hardening' '--options=runtime'
120
125
121
126
- name : Unzip signed payload
122
127
shell : pwsh
@@ -127,7 +132,7 @@ jobs:
127
132
- name : Upload signed payload
128
133
uses : actions/upload-artifact@v3
129
134
with :
130
- name : osx -payload-sign
135
+ name : ${{ matrix.runtime }} -payload-sign
131
136
path : |
132
137
signed
133
138
You can’t perform that action at this time.
0 commit comments