feat: load every environment from --env-file to workflow (#184)

* feat: load every environment from --env-file to workflow

* fix: pass dotenv's environments through by context

* updates to support --secret-file

Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
jony montana
2020-04-18 01:04:40 +08:00
committed by GitHub
parent f6e37a8d67
commit 2f395475b0
10 changed files with 47 additions and 30 deletions

3
pkg/runner/testdata/secrets/.secrets vendored Normal file
View File

@@ -0,0 +1,3 @@
MY_SECRET=top-secret
MULTILINE_SECRET="foo\nbar\nbaz"
JSON_SECRET={"foo": "bar"}