message: Setting an action_env for only test prevents sharing the build artifacts between bazel build and bazel test runs. Applying the action_env even in builds will allow transitioning between the two without triggering a rebuild.
diff: @@ -177,8 +177,8 @@ test:rbe --test_env=USER=anon
  # Options to build TensorFlow 1.x or 2.x.
  build:v1 --define=tf_api_version=1
  build:v2 --define=tf_api_version=2
  -test:v1 --action_env=TF2_BEHAVIOR=0
  -test:v2 --action_env=TF2_BEHAVIOR=1
  +build:v1 --action_env=TF2_BEHAVIOR=0
  +build:v2 --action_env=TF2_BEHAVIOR=1
  build --config=v2
  test --config=v2
  