Skip to content

Commit 20a66df

Browse files
committed
fix: pass buildProfile during ubuntu matrix tests
1 parent 0955c19 commit 20a66df

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build-tests-ubuntu.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ env:
3636

3737
jobs:
3838
buildForAllPlatformsUbuntu:
39-
name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}
39+
name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }} ${{ startsWith(matrix.buildProfile, 'Assets') && '(with Build Profile)' || '' }}
4040
runs-on: ubuntu-latest
4141
strategy:
4242
fail-fast: false
@@ -142,6 +142,7 @@ jobs:
142142
with:
143143
buildName: 'GameCI Test Build'
144144
projectPath: ${{ matrix.projectPath }}
145+
buildProfile: ${{ matrix.buildProfile }}
145146
unityVersion: ${{ matrix.unityVersion }}
146147
targetPlatform: ${{ matrix.targetPlatform }}
147148
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue ${{ matrix.additionalParameters }}
@@ -164,6 +165,7 @@ jobs:
164165
with:
165166
buildName: 'GameCI Test Build'
166167
projectPath: ${{ matrix.projectPath }}
168+
buildProfile: ${{ matrix.buildProfile }}
167169
unityVersion: ${{ matrix.unityVersion }}
168170
targetPlatform: ${{ matrix.targetPlatform }}
169171
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue ${{ matrix.additionalParameters }}
@@ -185,6 +187,7 @@ jobs:
185187
with:
186188
buildName: 'GameCI Test Build'
187189
projectPath: ${{ matrix.projectPath }}
190+
buildProfile: ${{ matrix.buildProfile }}
188191
unityVersion: ${{ matrix.unityVersion }}
189192
targetPlatform: ${{ matrix.targetPlatform }}
190193
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue ${{ matrix.additionalParameters }}

0 commit comments

Comments
 (0)