title: Bazel and System Envirentmental Variable
body: <p>I am building my java project with bazel. I want to use environmental variable at build/run time. According to the <a href="https://bazel.build/designs/2016/06/21/environment.html" rel="noreferrer">documentation</a> <code>--action_env=APP_ENV=Development</code> should work.</p>
  
  <p>So i do <code>bazel run myproject:app --action_env=APP_ENV=Development</code></p>
  
  <p>But <code>System.getenv("APP_ENV");</code> is null</p>
  
  <p>In my intellij IDE I have the following. Neither <code>--action_env=APP_ENV=Development</code> nor <code>--action_env APP_ENV=Development</code> work</p>
  
  <p><a href="https://i.stack.imgur.com/6bJqa.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6bJqa.png" alt="Using IntelliJ"></a></p>
  
  <p>Did i get something wrong here?</p>