Release pipeline updates for 1ES (#63)

This commit is contained in:
Andrew
2021-06-24 10:29:53 -07:00
committed by GitHub
parent 442570873b
commit 358ad24f02
+4 -4
View File
@@ -25,14 +25,14 @@ stages:
- powershell: |
$powerShellPath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'powershell'
Invoke-WebRequest -Uri https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.ps1 -outfile ./install-powershell.ps1
./install-powershell.ps1 -Destination $powerShellPath
./install-powershell.ps1 -Preview -Destination $powerShellPath
$vstsCommandString = "vso[task.setvariable variable=PATH]$powerShellPath;$env:PATH"
Write-Host "sending " + $vstsCommandString
Write-Host "##$vstsCommandString"
displayName: Install PowerShell Core
- task: NuGetToolInstaller@1
displayName: 'Install NuGet 5.9.1'
displayName: 'Install NuGet'
inputs:
checkLatest: false
version: 5.9.1
@@ -113,7 +113,7 @@ stages:
# the certificate ID to use
certificateId: "CP-230012"
# the file pattern to use, comma separated
pattern: '*.psm1,*.psd1'
pattern: '*.psm1,*.psd1,Microsoft.PowerShell.DscSubsystem.dll'
- pwsh: |
$repoName = [guid]::newGuid().ToString("N")
@@ -187,7 +187,7 @@ stages:
- download: current
artifact: 'nupkg'
- task: NuGetToolInstaller@1
displayName: 'Install NuGet 5.9.1'
displayName: 'Install NuGet'
inputs:
checkLatest: false
version: 5.9.1