mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a48683be1c
It is totally fine, and expected to use Git Bash for running Bazel on Windows. In fact this is the most common setup for Bazel on Windows and it's unrealistic to run without it. This allows us to remove the old/legacy Powershell setup from CI which is also quite flaky sometimes and does not reproduce how Bazel is used on windows-users dev machines. PR Close #45431
12 lines
801 B
Bash
Executable File
12 lines
801 B
Bash
Executable File
####################################################################################################
|
|
# Decrypt GCP Credentials and store them as the Google default credentials.
|
|
####################################################################################################
|
|
mkdir -p "$HOME/.config/gcloud";
|
|
openssl aes-256-cbc -d -in "${PROJECT_ROOT}/.circleci/gcp_token" \
|
|
-md md5 -k "$CIRCLE_PROJECT_REPONAME" -out "$HOME/.config/gcloud/application_default_credentials.json"
|
|
|
|
####################################################################################################
|
|
# Set bazel configuration for CircleCI runs.
|
|
####################################################################################################
|
|
cp "${PROJECT_ROOT}/.circleci/bazel.linux.rc" "$HOME/.bazelrc";
|