Added separate build pipeline steps
c0746373
Adam Rush
committed
succeeded
1 changed file
azure-pipelines.yml
/azure-pipelines.yml-3+5
/azure-pipelines.yml
Add comment 1 Minus  Param(
Add comment 2 Minus   [string]$PAT
Add comment 1 Plus  [CmdletBinding()]
Add comment 2 Plus  param (
Add comment 3 Plus   $PAT
Add comment 3 4 )
Add comment 4 5
Add comment 5 6 # Variables
Add comment 14 15
Add comment 15 16 # Testing
Add comment 16 17 Write-Host "ARTestVar env var: [$env:ARTestVar]"
Add comment 17 Minus  Write-Host "ArtifactFeedPat 'secret' env var: [$(secret.ArtifactFeedPat)]"
Add comment 18 Plus  Write-Host "ArtifactFeedPat env var: [$env:ArtifactFeedPat]"
Add comment 19 Plus  Write-Host "ArtifactFeedPat direct var: [$(ArtifactFeedPat)]"
Add comment 18 20 Write-Host "PAT param passed in: [$PAT]"
Add comment 19 21
Add comment 20 22 # This is downloaded during Step 3, but could also be "C:\Users\USERNAME\AppData\Local\Microsoft\Windows\PowerShell\PowerShellGet\NuGet.exe"