mirror of
https://github.com/actions/runner-images.git
synced 2026-01-10 04:35:12 +08:00
[Windows] CPack command alias is not part of Choco anymore (#5278)
This commit is contained in:
@@ -23,10 +23,6 @@ Invoke-Expression ((new-object net.webclient).DownloadString('https://chocolatey
|
||||
# Turn off confirmation
|
||||
choco feature enable -n allowGlobalConfirmation
|
||||
|
||||
# https://github.com/chocolatey/choco/issues/89
|
||||
# Remove some of the command aliases, like `cpack` #89
|
||||
Remove-Item -Path $env:ChocolateyInstall\bin\cpack.exe -Force
|
||||
|
||||
# Initialize environmental variable ChocolateyToolsLocation by invoking choco Get-ToolsLocation function
|
||||
Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force
|
||||
Get-ToolsLocation
|
||||
Get-ToolsLocation
|
||||
|
||||
Reference in New Issue
Block a user