Skip to content

Commit b077fd4

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

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

+6-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ env:
3636

3737
jobs:
3838
buildForAllPlatformsUbuntu:
39-
name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}
39+
name:
40+
"${{ matrix.targetPlatform }} on ${{ matrix.unityVersion}}${{startsWith(matrix.buildProfile, 'Assets') && ' (via Build Profile)' || '' }}"
4041
runs-on: ubuntu-latest
4142
strategy:
4243
fail-fast: false
@@ -142,6 +143,7 @@ jobs:
142143
with:
143144
buildName: 'GameCI Test Build'
144145
projectPath: ${{ matrix.projectPath }}
146+
buildProfile: ${{ matrix.buildProfile }}
145147
unityVersion: ${{ matrix.unityVersion }}
146148
targetPlatform: ${{ matrix.targetPlatform }}
147149
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue ${{ matrix.additionalParameters }}
@@ -164,6 +166,7 @@ jobs:
164166
with:
165167
buildName: 'GameCI Test Build'
166168
projectPath: ${{ matrix.projectPath }}
169+
buildProfile: ${{ matrix.buildProfile }}
167170
unityVersion: ${{ matrix.unityVersion }}
168171
targetPlatform: ${{ matrix.targetPlatform }}
169172
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue ${{ matrix.additionalParameters }}
@@ -185,6 +188,7 @@ jobs:
185188
with:
186189
buildName: 'GameCI Test Build'
187190
projectPath: ${{ matrix.projectPath }}
191+
buildProfile: ${{ matrix.buildProfile }}
188192
unityVersion: ${{ matrix.unityVersion }}
189193
targetPlatform: ${{ matrix.targetPlatform }}
190194
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue ${{ matrix.additionalParameters }}
@@ -197,7 +201,6 @@ jobs:
197201
- uses: actions/upload-artifact@v4
198202
with:
199203
name:
200-
'Build ${{ matrix.targetPlatform }} on Ubuntu (${{ matrix.unityVersion }}_il2cpp_${{ matrix.buildWithIl2cpp
201-
}}_params_${{ matrix.additionalParameters }})'
204+
"Build ${{ matrix.targetPlatform }}${{ startsWith(matrix.buildProfile, 'Assets') && ' (via Build Profile)' || '' }} on Ubuntu (${{ matrix.unityVersion }}_il2cpp_${{ matrix.buildWithIl2cpp }}_params_${{ matrix.additionalParameters }})"
202205
path: build
203206
retention-days: 14

0 commit comments

Comments
 (0)