🔥 3-day streak
GitHub Actions (GH-200)72 / 142
Question 72 of 142

You maintain a JavaScript action. In action.yml you declared an input named 'api-token'. Inside your action's index.js you retrieve the value with core.getInput('apiToken'), but at runtime the value always comes back as an empty string even though callers pass a valid 'api-token' value. What is the most likely cause and fix?

Reviewed for accuracy · Report an issueNext question