fix: Enable global confirmation for installing mingw (#11835)

This commit is contained in:
Sebastian Spaink 2022-09-19 10:32:04 -05:00 committed by GitHub
parent 3b3584b40b
commit b3fc1b7631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -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'

View File

@ -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