action input variable
An environment variable the runner sets for each input of a JavaScript or Docker action, named INPUT_ and the input's name in upper case.
In more detail
Spaces in the name become underscores, so an input called api key arrives as INPUT_API_KEY. Composite actions do not get these variables and read inputs through the inputs context instead.
Related terms
- composite action — An action that bundles several workflow steps under one name, with no program of its own.
Taught in
- Three Kinds Of Action: JavaScript, Docker Container Or Composite — GitHub Actions (GH-200) Exam Prep
- Building And Debugging A JavaScript Action — GitHub Actions (GH-200) Exam Prep
- Full Mock And Review: Where Your Points Go — GitHub Actions (GH-200) Exam Prep