Write-Error"Unable to find binpath.txt in '$($ToolDirectory.FullName)' ($ToolName $ToolVersion); artifact is either installed incorrectly or is not a bootstrappable tool."
exit1
}
$BinPath=Get-Content"$BinPathFile"
Write-Host"Adding $ToolName to the path ($(Convert-Path-Path$BinPath))..."
Write-PipelineTelemetryError-Category'NativeToolsBootstrap'-Message"$ToolName not found on path. Please install $ToolName $ToolVersion before proceeding."
# Optional: Override automatically derived dependsOn value for "publish build assets" job
publishBuildAssetsDependsOn:''
# Optional: Publish the assets as soon as the publish to BAR stage is complete, rather doing so in a separate stage.
publishAssetsImmediately:false
# Optional: If using publishAssetsImmediately and additional parameters are needed, can be used to send along additional parameters (normally sent to post-build.yml)
artifactsPublishingAdditionalParameters:''
signingValidationAdditionalParameters:''
# Optional: should run as a public build even in the internal project
# if 'true', the build won't run any of the internal only steps, even if it is running in non-public projects.
runAsPublic:false
@ -68,7 +75,6 @@ jobs:
${{ parameter.key }}: ${{ parameter.value }}
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- ${{ if or(eq(parameters.enablePublishBuildAssets, true), eq(parameters.artifacts.publish.manifests, 'true'), ne(parameters.artifacts.publish.manifests, '')) }}: