Add environment to workflow jobs


#1

Just like this.

version: 2
jobs:
  build:
    ...
    steps:
      ...
      run: make VERSION=$version

workflows:
  version: 2
  build_versions:
    jobs:
    - build:
      environment:
        version: 1.0
    - build:
      environment:
        version: 2.0

I know contexts, but hiding those variable away from config file feel me wrong.


#2

Any status on whether this feature will be added? Thanks.


#3