Skip to content

Commit dfbba37

Browse files
committed
fix: keep using an old version of Unity to build packages on CI
1 parent 36cfc17 commit dfbba37

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/package.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,17 @@ jobs:
292292
run: |
293293
rm MediaPipeUnityPlugin-all.zip
294294
295+
# NOTE: a workaround to keep using Unity 6000.0.33f1
296+
- name: Patch dependencies
297+
run: |
298+
echo "$(jq '.dependencies["com.unity.test-framework"] = "1.4.5"' Packages/manifest.json)" > Packages/manifest.json
299+
echo "$(jq '
300+
.dependencies["com.unity.test-framework"].version = "1.4.5" |
301+
.dependencies["com.unity.test-framework"].source = "registry" |
302+
.dependencies["com.unity.test-framework"].url = "https://packages.unity.com"
303+
' Packages/packages-lock.json)" > Packages/packages-lock.json
304+
305+
295306
# NOTE: this step will overwrite AppSettings.asset
296307
- name: Export unitypackage
297308
if: ${{ env.BUILD_UNITYPACKAGE == '1' }}

0 commit comments

Comments
 (0)