@@ -215,34 +215,40 @@ stages:
215215# ---------------------------------------------------------------------------------------------------------------------#
216216# Post Build #
217217# ---------------------------------------------------------------------------------------------------------------------#
218- - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
219- - template : eng/common/templates/post-build/post-build.yml
220- parameters :
221- publishingInfraVersion : 3
222- # signing validation currently has issues with dotnet 7; disabling as per internal guidance
223- enableSigningValidation : false
224- # Symbol validation is not entirely reliable as of yet, so should be turned off until https://github.com/dotnet/arcade/issues/2871 is resolved.
225- enableSymbolValidation : false
226- # SourceLink improperly looks for generated files. See https://github.com/dotnet/arcade/issues/3069
227- enableSourceLinkValidation : false
228- # Enable SDL validation, passing through values from the 'DotNet-FSharp-SDLValidation-Params' group.
229- SDLValidationParameters :
230- enable : true
231- params : >-
232- -SourceToolsList @("policheck","credscan")
233- -TsaInstanceURL $(_TsaInstanceURL)
234- -TsaProjectName $(_TsaProjectName)
235- -TsaNotificationEmail $(_TsaNotificationEmail)
236- -TsaCodebaseAdmin $(_TsaCodebaseAdmin)
237- -TsaBugAreaPath $(_TsaBugAreaPath)
238- -TsaIterationPath $(_TsaIterationPath)
239- -TsaRepositoryName "Interactive"
240- -TsaCodebaseName "Interactive-GitHub"
241- -TsaPublish $True
242- -PoliCheckAdditionalRunConfigParams @("UserExclusionPath < $(Build.SourcesDirectory)/eng/policheck_exclusions.xml")
218+ - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
219+ - template : eng/common/templates/post-build/post-build.yml
220+ parameters :
221+ publishingInfraVersion : 3
222+ # signing validation currently has issues with dotnet 7; disabling as per internal guidance
223+ enableSigningValidation : false
224+ # Symbol validation is not entirely reliable as of yet, so should be turned off until https://github.com/dotnet/arcade/issues/2871 is resolved.
225+ enableSymbolValidation : false
226+ # SourceLink improperly looks for generated files. See https://github.com/dotnet/arcade/issues/3069
227+ enableSourceLinkValidation : false
228+ # Enable SDL validation, passing through values from the 'DotNet-FSharp-SDLValidation-Params' group.
229+ SDLValidationParameters :
230+ enable : true
231+ params : >-
232+ -SourceToolsList @("policheck","credscan")
233+ -TsaInstanceURL $(_TsaInstanceURL)
234+ -TsaProjectName $(_TsaProjectName)
235+ -TsaNotificationEmail $(_TsaNotificationEmail)
236+ -TsaCodebaseAdmin $(_TsaCodebaseAdmin)
237+ -TsaBugAreaPath $(_TsaBugAreaPath)
238+ -TsaIterationPath $(_TsaIterationPath)
239+ -TsaRepositoryName "Interactive"
240+ -TsaCodebaseName "Interactive-GitHub"
241+ -TsaPublish $True
242+ -PoliCheckAdditionalRunConfigParams @("UserExclusionPath < $(Build.SourcesDirectory)/eng/policheck_exclusions.xml")
243243
244244# ---------------------------------------------------------------------------------------------------------------------#
245245# NPM Publish #
246246# ---------------------------------------------------------------------------------------------------------------------#
247- - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
248- - template : /eng/templates/npm-publish-tasks.yml@self
247+ - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
248+ - template : eng/publish/publish-npm.yml
249+ parameters :
250+ packageName : microsoft-polyglot-notebooks-*.tgz
251+ registryUrl : pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/npm/registry/
252+ registryUser : dnceng
253+ registryEmail : dnceng@microsoft.com
254+ publishingBranch : main
0 commit comments