Skip to content

Commit 01ec1ac

Browse files
authored
Merge pull request #679 from CesiumGS/fix-hub-install
Fix broken CI caused by Unity moving the Unity Hub installer
2 parents a04de9f + 98e4f3c commit 01ec1ac

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ jobs:
7373
choco install -y wget
7474
- name: Install Unity Hub
7575
run: |
76-
wget https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.exe
77-
Start-Process "./UnityHubSetup.exe" -Args "/S" -Wait
78-
del ./UnityHubSetup.exe
76+
wget https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup-x64.exe
77+
Start-Process "./UnityHubSetup-x64.exe" -Args "/S" -Wait
78+
del ./UnityHubSetup-x64.exe
7979
- name: Install Unity
8080
run: |
8181
Start-Process -FilePath "C:/Program Files/Unity Hub/Unity Hub.exe" -Args "-- --headless install --version 2022.3.41f1 --changeset 0f988161febf" -Wait
@@ -229,12 +229,12 @@ jobs:
229229
uses: ilammy/setup-nasm@v1.5.1
230230
- name: Install Unity Hub
231231
run: |
232-
wget --quiet https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.dmg
232+
wget --quiet https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup-arm64.dmg
233233
mkdir UnityHubSetup
234-
hdiutil attach UnityHubSetup.dmg -mountpoint ./UnityHubSetup
234+
hdiutil attach UnityHubSetup-arm64.dmg -mountpoint ./UnityHubSetup
235235
sudo cp -R "./UnityHubSetup/Unity Hub.app" /Applications
236236
hdiutil detach ./UnityHubSetup
237-
rm ./UnityHubSetup.dmg
237+
rm ./UnityHubSetup-arm64.dmg
238238
- name: Install Unity 2022.3.41f1
239239
# This command sometimes returns exit code 130, despite actually succeeding.
240240
continue-on-error: true
@@ -372,9 +372,9 @@ jobs:
372372
choco install -y wget
373373
- name: Install Unity Hub
374374
run: |
375-
wget https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.exe
376-
Start-Process "./UnityHubSetup.exe" -Args "/S" -Wait
377-
del ./UnityHubSetup.exe
375+
wget https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup-x64.exe
376+
Start-Process "./UnityHubSetup-x64.exe" -Args "/S" -Wait
377+
del ./UnityHubSetup-x64.exe
378378
- name: Install Unity
379379
run: |
380380
# We must use Unity 6+ because the Emscripten version in older releases is too old.

0 commit comments

Comments
 (0)