Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 2

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:


1 Reply
Copilot Lvl 3
Message 2 of 2

Re: Usage of undeclared output?

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