@@ -38,6 +38,10 @@ resources:
3838 type : git
3939 name : VCLS-Extensions
4040 ref : refs/heads/dev17
41+ parameters :
42+ - name : SignType
43+ type : string
44+ default : ' real'
4145variables :
4246- name : ApiScanClientId
4347 value : d318cba7-db4d-4fb3-99e1-01879cb74e91
@@ -69,8 +73,6 @@ variables:
6973 value : /p:Configuration="$(BuildConfiguration)"
7074- name : Packaging.EnableSBOMSigning
7175 value : " $(TAfGTEnableSBOMSigning)"
72- - name : DropPAT
73- value : " $(TAfGTDropPAT)"
7476- name : ProductComponent
7577 value : " $(TAfGTProductComponent)"
7678- name : Publish
@@ -82,8 +84,6 @@ variables:
8284 value : " $(RealSign)"
8385- name : RetainBuild
8486 value : " $(TAfGTRetainBuild)"
85- - name : SignType
86- value : " $(TAfGTSignType)"
8787- name : SYMBOLS_PAT
8888 value : " $(GoogleTestSymbolsPat)"
8989- name : smPassword
@@ -146,9 +146,9 @@ extends:
146146 mb :
147147 signing :
148148 enabled : true
149- signType : $( SignType)
150- ${{ if or( eq(variables[' SignType'] , 'real'), eq(variables['SignType'], 'Real') ) }} :
151- signWithProd : true
149+ signType : ' ${{ parameters. SignType }} '
150+ ${{ if eq(parameters. SignType, 'real') }} :
151+ signWithProd : true
152152 localization :
153153 enabled : true
154154 steps :
@@ -425,15 +425,15 @@ extends:
425425 inputs :
426426 dropFolder : $(Build.ArtifactStagingDirectory)\drop
427427 dropName : Products/$(System.TeamProject)/$(Build.Repository.Name)/$(Build.SourceBranchName)/$(Build.BuildNumber)
428- accessToken : $(DropPAT )
428+ accessToken : $(System.AccessToken )
429429 dropServiceUri : https://devdiv.artifacts.visualstudio.com/DefaultCollection
430430 vsDropServiceUri : " https://vsdrop.corp.microsoft.com/file/v1"
431431 - task : ms-vseng.MicroBuildShipTasks.4a4e1dc3-01d0-484f-94ac-f918aaf7d509.MicroBuildRetainVstsDrops@1
432432 displayName : Retain VSTS Drops
433433 condition : and(succeeded(), eq(variables['RetainBuild'], true))
434434 inputs :
435435 DropNames : Products/$(System.TeamProject)/$(Build.Repository.Name)/$(Build.SourceBranchName)/$(Build.BuildNumber)
436- AccessToken : $(DropPAT )
436+ AccessToken : $(System.AccessToken )
437437 DropServiceUri : https://devdiv.artifacts.visualstudio.com/DefaultCollection
438438 - task : ms-vseng.MicroBuildShipTasks.0ffdda1d-8c7b-40da-b8b1-061660eaeea3.MicroBuildArchiveSymbols@5
439439 displayName : ' Archive TestAdapterForGoogleTest on Symweb'
0 commit comments