diff options
Diffstat (limited to 'src/jaegertracing/opentelemetry-cpp/ci/install_windows_bazelisk.ps1')
-rw-r--r-- | src/jaegertracing/opentelemetry-cpp/ci/install_windows_bazelisk.ps1 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/jaegertracing/opentelemetry-cpp/ci/install_windows_bazelisk.ps1 b/src/jaegertracing/opentelemetry-cpp/ci/install_windows_bazelisk.ps1 new file mode 100644 index 000000000..de70bba6f --- /dev/null +++ b/src/jaegertracing/opentelemetry-cpp/ci/install_windows_bazelisk.ps1 @@ -0,0 +1,8 @@ +$ErrorActionPreference = "Stop" +trap { $host.SetShouldExit(1) } + +$BAZELISK_VERSION="1.7.4" +$CWD=(Get-Item -Path ".\").FullName +(new-object System.Net.WebClient). ` + DownloadFile("https://github.com/bazelbuild/bazelisk/releases/download/v$BAZELISK_VERSION/bazelisk-windows-amd64.exe", + "C:\windows\system32\bazel.exe") |