According to the document of action environment_variable.
I've tried to use it this way in my Fastfile
but failed.
environment_variable(set: { ENVFILE: ".env.dev" }) # failed
I can not find any example of how to use this action.
I also look into the source code of this action, but I am not very familiar with ruby. So I don't know how to pass the parameters.
*Picture of environment_variable action:*
Now I set the environment variables directly in my Fastfile
directly and it works, but I still want to know how to use this action.
ENV["ENVFILE"] = ".env.dev" # it works