Usage of undeclared output?


docs say the following:

> You will receive an error if you attempt to set an output value that was not declared in the action’s metadata file.

but actions/typescript-action produces output which is not declared in action’s metadata

What is this - an outdated doc or a bug in the actions system?

It is also possible to provide an arbitrary output in “run” step with “echo”. This looks like a very poweful option to prepare variables for next steps but will this still be working in future?

sample demonstrating both:

In addition the same question about inputs: it is currently possible to send and consume any input that is not declared in action.yml.