Skip to content

Commit 9231eb4

Browse files
Remove PowerShell <7.4 workaround from OneBranch (#237)
1 parent d9680bf commit 9231eb4

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.pipelines/SecretManagement-Official.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,7 @@ extends:
7878
inputs:
7979
packageType: sdk
8080
useGlobalJson: true
81-
- pwsh: |
82-
Register-PSRepository -Name CFS -SourceLocation "https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/nuget/v2" -InstallationPolicy Trusted
83-
Install-Module -Repository CFS -Name Microsoft.PowerShell.PSResourceGet
84-
./tools/installPSResources.ps1 -PSRepository CFS
81+
- pwsh: ./tools/installPSResources.ps1 -PSRepository CFS
8582
displayName: Install PSResources
8683
- pwsh: Invoke-Build -Configuration $(BuildConfiguration) -Task Build, Test
8784
displayName: Build

tools/installPSResources.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Install-PSResource -Verbose -TrustRepository -RequiredResource @{
1616
InvokeBuild = @{
1717
version = "5.12.1"
1818
repository = $PSRepository
19-
}
19+
}
2020
platyPS = @{
2121
version = "0.14.2"
2222
repository = $PSRepository

0 commit comments

Comments
 (0)