-
Notifications
You must be signed in to change notification settings - Fork 32
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
Reference an external file containing the json map #59
Comments
It would be nice if this was supported out of the box. The simplest way I found to do it is like this:
|
@nwaughachukwuma Thanks for the report. And I'm sorry for the delay in replying. @mrmeyers99's workaround is very good! But, I will try to support option that read map file directly like below. - uses: kanga333/variable-mapper@master
id: export
with:
key: "key"
map_file: "./.github/env_vars.json"
export_to: log,output |
OK thanks @kanga333. And thanks @mrmeyers99 |
@mrmeyers99 I use with just passing the value as env but you can as well pass the map from output of your step
|
It would be nice if we can make reference to an external file containing the JSON map.
The text was updated successfully, but these errors were encountered: