fix: Enable global confirmation for installing mingw (#11835)
This commit is contained in:
parent
3b3584b40b
commit
b3fc1b7631
|
|
@ -74,6 +74,7 @@ commands:
|
|||
equal: [ windows, << parameters.os >> ]
|
||||
steps:
|
||||
- run: rm -rf /c/Go
|
||||
- run: choco feature enable -n allowGlobalConfirmation
|
||||
- restore_cache:
|
||||
key: windows-go-<< parameters.cache_version >>-{{ checksum "go.sum" }}
|
||||
- run: 'sh ./scripts/installgo_windows.sh'
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ set -eux
|
|||
GO_VERSION="1.19.1"
|
||||
|
||||
setup_go () {
|
||||
choco feature enable -n allowGlobalConfirmation
|
||||
choco upgrade golang --allow-downgrade --version=${GO_VERSION}
|
||||
choco install make
|
||||
git config --system core.longpaths true
|
||||
|
|
|
|||
Loading…
Reference in New Issue