Skip to content

Commit 5514583

Browse files
committed
Update gallery publish task
1 parent 1bfec51 commit 5514583

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.vsts-ci/templates/publish-markets.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ steps:
1414

1515
- pwsh: |
1616
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
17-
Install-Module -Name PowerShellGet -AllowPrerelease -Scope CurrentUser -Force
18-
Import-Module -Name PowerShellGet -MinimumVersion 3.0.0
17+
Install-Module -Name Microsoft.PowerShell.PSResourceGet -AllowPrerelease -Scope CurrentUser -Force
18+
Import-Module -Name Microsoft.PowerShell.PSResourceGet -MinimumVersion 1.0.0
1919
Publish-PSResource -Path $(Pipeline.Workspace)/Publish/Microsoft.PowerShell.ConsoleGuiTools -Repository PSGallery -APIKey $(GalleryToken) -Verbose
2020
displayName: Publishing ConsoleGuiTools to PowerShell Gallery

0 commit comments

Comments
 (0)