I’m in the process of writing my own action, contained in this repo: https://github.com/enarx/nightly-features
As part of the action’s definition, I expect some input (I’ve named it
allowed_features). From Github Actions’ documentation, this should be accessible via the environment variable
INPUT_ALLOWED_FEATURES when specified by a calling workflow.
However, this doesn’t seem to be working for me. I’ve written a workflow that invokes this action here. It provides the input, as far as I can tell, correctly; however, when I run that workflow, the action I wrote doesn’t seem to be able to read from the expected environment variable. You can see that demonstrated in this workflow run: https://github.com/mbestavros/enarx/runs/1009733602?check_suite_focus=true
I’ve dumped the environment variables into the log from the called action, and it doesn’t deem to have the expected
INPUT_ALLOWED_FEATURES among them.
Does anyone have any pointers as to how I’m going wrong? I’ve looked at other examples, and everything I’ve looked at suggests I’m doing things correctly.
Thanks in advance!