Skip to content

Commit b1b1825

Browse files
chore: try to fix unity 6 test
1 parent 382647b commit b1b1825

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test-build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
test:
1515
if: github.event.pull_request.head.repo.fork == false
1616
name: Test sample app 🛠️
17-
runs-on: ubuntu-latest-8-cores
17+
# Forcing windows-latest; UWB_WEBVIEW won’t be defined on Linux. Others stay on Ubuntu.
18+
runs-on: ${{ matrix.targetPlatform == 'StandaloneWindows64' && 'windows-latest' || 'ubuntu-latest-8-cores' }}
1819

1920
steps:
2021
- uses: actions/checkout@v3
@@ -47,7 +48,8 @@ jobs:
4748
test-unity6:
4849
if: github.event.pull_request.head.repo.fork == false
4950
name: Test Unity 6 sample app 🛠️
50-
runs-on: ubuntu-latest-8-cores
51+
# Forcing windows-latest; UWB_WEBVIEW won’t be defined on Linux. Others stay on Ubuntu.
52+
runs-on: ${{ matrix.targetPlatform == 'StandaloneWindows64' && 'windows-latest' || 'ubuntu-latest-8-cores' }}
5153
steps:
5254
- uses: actions/checkout@v3
5355
with:

0 commit comments

Comments
 (0)