Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Merge EnvVars and EnVarsFile #134

Merged
merged 5 commits into from
Jul 30, 2021

Conversation

Vico1993
Copy link
Contributor

@Vico1993 Vico1993 commented Jul 22, 2021

Resolve issue #57

Got the same need for one of my project, this is proposition to merge envVars and envVarsFile

@google-cla google-cla bot added the cla: yes label Jul 22, 2021
@github-actions github-actions bot added the Fork label Jul 22, 2021
@Vico1993 Vico1993 marked this pull request as ready for review July 22, 2021 00:36
@Vico1993 Vico1993 requested a review from a team as a code owner July 22, 2021 00:36
'Only one of env_vars or env_vars_file can be specified.',
);
}
if (opts?.envVars || opts?.envVarsFile) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Can you add a comment on what's happening here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!
thank you for the feedback!

@averikitsch averikitsch changed the title Merge EnvVars and EnVarsFile feat: Merge EnvVars and EnVarsFile Jul 29, 2021
@bharathkkb bharathkkb changed the base branch from main to pr-134 July 30, 2021 16:55
@bharathkkb bharathkkb merged commit 7ec7572 into google-github-actions:pr-134 Jul 30, 2021
bharathkkb added a commit that referenced this pull request Jul 30, 2021
* Fix issue#57 by merging envVars and envVarsFile together

* Added to explain the logic for `envVars` and `envVarsFile`

Co-authored-by: Averi Kitsch <akitsch@google.com>

Co-authored-by: Piolin Victor <victor.piolin@gmail.com>
Co-authored-by: Averi Kitsch <akitsch@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants