@@ -12,13 +12,10 @@ jobs:
1212 strategy :
1313 matrix :
1414 runner : [windows-large, macos-12-xl]
15- configuration : [Release, ReleaseOS ]
15+ configuration : [Release]
1616 include :
1717 - runner : macos-12-xl
1818 developer_dir : " /Applications/Xcode_14.0.1.app/Contents/Developer"
19- exclude :
20- - runner : macos-12-xl
21- configuration : ReleaseOS
2219 runs-on : ${{ matrix.runner }}
2320 outputs :
2421 viewer_channel : ${{ steps.build.outputs.viewer_channel }}
10097
10198 - name : Determine source branch
10299 id : which-branch
103- uses : secondlife/viewer-build-util/which-branch@v1
100+ uses : secondlife/viewer-build-util/which-branch@v2
104101 with :
105102 token : ${{ github.token }}
106103
@@ -223,7 +220,7 @@ jobs:
223220
224221 - name : Upload executable
225222 if : matrix.configuration != 'ReleaseOS' && steps.build.outputs.viewer_app
226- uses : actions/upload-artifact@v3
223+ uses : actions/upload-artifact@v4
227224 with :
228225 name : " ${{ steps.build.outputs.artifact }}-app"
229226 path : |
@@ -233,23 +230,23 @@ jobs:
233230 # artifact for that too.
234231 - name : Upload symbol file
235232 if : matrix.configuration != 'ReleaseOS'
236- uses : actions/upload-artifact@v3
233+ uses : actions/upload-artifact@v4
237234 with :
238235 name : " ${{ steps.build.outputs.artifact }}-symbols"
239236 path : |
240237 ${{ steps.build.outputs.symbolfile }}
241238
242239 - name : Upload metadata
243240 if : matrix.configuration != 'ReleaseOS'
244- uses : actions/upload-artifact@v3
241+ uses : actions/upload-artifact@v4
245242 with :
246243 name : " ${{ steps.build.outputs.artifact }}-metadata"
247244 # emitted by build.sh, possibly multiple lines
248245 path : |
249246 ${{ steps.build.outputs.metadata }}
250247
251248 - name : Upload physics package
252- uses : actions/upload-artifact@v3
249+ uses : actions/upload-artifact@v4
253250 # should only be set for viewer-private
254251 if : matrix.configuration != 'ReleaseOS' && steps.build.outputs.physicstpv
255252 with :
@@ -270,7 +267,7 @@ jobs:
270267 steps :
271268 - name : Sign and package Windows viewer
272269 if : env.AZURE_KEY_VAULT_URI && env.AZURE_CERT_NAME && env.AZURE_CLIENT_ID && env.AZURE_CLIENT_SECRET && env.AZURE_TENANT_ID
273- uses : secondlife/viewer-build-util/sign-pkg-windows@v1
270+ uses : secondlife/viewer-build-util/sign-pkg-windows@v2
274271 with :
275272 vault_uri : " ${{ env.AZURE_KEY_VAULT_URI }}"
276273 cert_name : " ${{ env.AZURE_CERT_NAME }}"
@@ -309,7 +306,7 @@ jobs:
309306
310307 - name : Sign and package Mac viewer
311308 if : env.SIGNING_CERT_MACOS && env.SIGNING_CERT_MACOS_IDENTITY && env.SIGNING_CERT_MACOS_PASSWORD && steps.note-creds.outputs.note_user && steps.note-creds.outputs.note_pass && steps.note-creds.outputs.note_team
312- uses : secondlife/viewer-build-util/sign-pkg-mac@v1
309+ uses : secondlife/viewer-build-util/sign-pkg-mac@v2
313310 with :
314311 channel : ${{ needs.build.outputs.viewer_channel }}
315312 imagename : ${{ needs.build.outputs.imagename }}
@@ -329,7 +326,7 @@ jobs:
329326 steps :
330327 - name : Post Windows symbols
331328 if : env.BUGSPLAT_USER && env.BUGSPLAT_PASS
332- uses : secondlife/viewer-build-util/post-bugsplat-windows@v1
329+ uses : secondlife/viewer-build-util/post-bugsplat-windows@v2
333330 with :
334331 username : ${{ env.BUGSPLAT_USER }}
335332 password : ${{ env.BUGSPLAT_PASS }}
@@ -346,7 +343,7 @@ jobs:
346343 steps :
347344 - name : Post Mac symbols
348345 if : env.BUGSPLAT_USER && env.BUGSPLAT_PASS
349- uses : secondlife/viewer-build-util/post-bugsplat-mac@v1
346+ uses : secondlife/viewer-build-util/post-bugsplat-mac@v2
350347 with :
351348 username : ${{ env.BUGSPLAT_USER }}
352349 password : ${{ env.BUGSPLAT_PASS }}
@@ -359,31 +356,20 @@ jobs:
359356 runs-on : ubuntu-latest
360357 if : github.ref_type == 'tag' && startsWith(github.ref_name, 'Second_Life_')
361358 steps :
362- - uses : actions/download-artifact@v3
363- with :
364- name : Windows-installer
365-
366- - uses : actions/download-artifact@v3
367- with :
368- name : macOS-installer
369-
370- - uses : actions/download-artifact@v3
359+ - uses : actions/download-artifact@v4
371360 with :
372- name : Windows-metadata
373-
374- - name : Rename windows metadata
375- run : |
376- mv autobuild-package.xml Windows-autobuild-package.xml
377- mv newview/viewer_version.txt Windows-viewer_version.txt
361+ pattern : " *-installer"
378362
379- - uses : actions/download-artifact@v3
363+ - uses : actions/download-artifact@v4
380364 with :
381- name : macOS -metadata
382-
383- - name : Rename macOS metadata
365+ pattern : " * -metadata"
366+
367+ - name : Rename metadata
384368 run : |
385- mv autobuild-package.xml macOS-autobuild-package.xml
386- mv newview/viewer_version.txt macOS-viewer_version.txt
369+ cp Windows-metadata/autobuild-package.xml Windows-autobuild-package.xml
370+ cp Windows-metadata/newview/viewer_version.txt Windows-viewer_version.txt
371+ cp macOS-metadata/autobuild-package.xml macOS-autobuild-package.xml
372+ cp macOS-metadata/newview/viewer_version.txt macOS-viewer_version.txt
387373
388374 # forked from softprops/action-gh-release
389375 - name : Create GitHub release
@@ -406,8 +392,8 @@ jobs:
406392 append_body : true
407393 fail_on_unmatched_files : true
408394 files : |
409- *.dmg
410- *.exe
395+ macOS-installer/ *.dmg
396+ Windows-installer/ *.exe
411397 *-autobuild-package.xml
412398 *-viewer_version.txt
413399
0 commit comments