File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,9 @@ jobs:
139
139
osx-pack :
140
140
name : Package macOS payload
141
141
runs-on : macos-latest
142
+ strategy :
143
+ matrix :
144
+ runtime : [ osx-x64, osx-arm64 ]
142
145
needs : osx-payload-sign
143
146
steps :
144
147
- name : Check out repository
@@ -159,20 +162,24 @@ jobs:
159
162
- name : Download signed payload
160
163
uses : actions/download-artifact@v3
161
164
with :
162
- name : osx -payload-sign
165
+ name : ${{ matrix.runtime }} -payload-sign
163
166
164
167
- name : Create component package
165
168
run : |
166
- src/osx/Installer.Mac/pack.sh --payload=payload --version=$GitBuildVersionSimple --output=components/com.microsoft.gitcredentialmanager.component.pkg
169
+ src/osx/Installer.Mac/pack.sh --payload=payload \
170
+ --version=$GitBuildVersionSimple \
171
+ --output=components/com.microsoft.gitcredentialmanager.component.pkg
167
172
168
173
- name : Create product archive
169
174
run : |
170
- src/osx/Installer.Mac/dist.sh --package-path=components --version=$GitBuildVersionSimple --output=pkg/gcm-osx-x64-$GitBuildVersionSimple.pkg || exit 1
175
+ src/osx/Installer.Mac/dist.sh --package-path=components \
176
+ --version=$GitBuildVersionSimple --runtime=${{ matrix.runtime }} \
177
+ --output=pkg/gcm-${{ matrix.runtime }}-$GitBuildVersionSimple.pkg || exit 1
171
178
172
179
- name : Upload package
173
180
uses : actions/upload-artifact@v3
174
181
with :
175
- name : tmp.osx -pack
182
+ name : tmp.${{ matrix.runtime }} -pack
176
183
path : |
177
184
pkg
178
185
You can’t perform that action at this time.
0 commit comments