3636
3737jobs :
3838 buildForAllPlatformsUbuntu :
39- name : ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}
39+ name : ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}${{ startsWith(matrix.buildProfile, 'Assets') && ' (via 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 }}
@@ -197,7 +200,6 @@ jobs:
197200 - uses : actions/upload-artifact@v4
198201 with :
199202 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 }})"
202204 path : build
203205 retention-days : 14
0 commit comments