36
36
37
37
jobs :
38
38
buildForAllPlatformsUbuntu :
39
- name : ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}
39
+ name : ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}${{ startsWith(matrix.buildProfile, 'Assets') && ' (via Build Profile)' || '' }}
40
40
runs-on : ubuntu-latest
41
41
strategy :
42
42
fail-fast : false
@@ -142,6 +142,7 @@ jobs:
142
142
with :
143
143
buildName : ' GameCI Test Build'
144
144
projectPath : ${{ matrix.projectPath }}
145
+ buildProfile : ${{ matrix.buildProfile }}
145
146
unityVersion : ${{ matrix.unityVersion }}
146
147
targetPlatform : ${{ matrix.targetPlatform }}
147
148
customParameters : -profile SomeProfile -someBoolean -someValue exampleValue ${{ matrix.additionalParameters }}
@@ -164,6 +165,7 @@ jobs:
164
165
with :
165
166
buildName : ' GameCI Test Build'
166
167
projectPath : ${{ matrix.projectPath }}
168
+ buildProfile : ${{ matrix.buildProfile }}
167
169
unityVersion : ${{ matrix.unityVersion }}
168
170
targetPlatform : ${{ matrix.targetPlatform }}
169
171
customParameters : -profile SomeProfile -someBoolean -someValue exampleValue ${{ matrix.additionalParameters }}
@@ -185,6 +187,7 @@ jobs:
185
187
with :
186
188
buildName : ' GameCI Test Build'
187
189
projectPath : ${{ matrix.projectPath }}
190
+ buildProfile : ${{ matrix.buildProfile }}
188
191
unityVersion : ${{ matrix.unityVersion }}
189
192
targetPlatform : ${{ matrix.targetPlatform }}
190
193
customParameters : -profile SomeProfile -someBoolean -someValue exampleValue ${{ matrix.additionalParameters }}
@@ -197,7 +200,6 @@ jobs:
197
200
- uses : actions/upload-artifact@v4
198
201
with :
199
202
name :
200
- ' Build ${{ matrix.targetPlatform }} on Ubuntu (${{ matrix.unityVersion }}_il2cpp_${{ matrix.buildWithIl2cpp
201
- }}_params_${{ matrix.additionalParameters }})'
203
+ " Build ${{ matrix.targetPlatform }} on Ubuntu ${{ startsWith(matrix.buildProfile, 'Assets') && '(via Build Profile) ' || '' }}(${{ matrix.unityVersion }}_il2cpp_${{ matrix.buildWithIl2cpp}}_params_${{ matrix.additionalParameters }})"
202
204
path : build
203
205
retention-days : 14
0 commit comments