It's not possible to consume this action's output
if it contains enormous amount of data
#458
Labels
kind/enhancement
Improvements or new features
In my case I have numbers of CRDs and resources going to be be deployed into Kubernetes (you can take
kube-prometheus-stack
as example), andpreview
command withdiff: true
. As the result, pulumi generates 25k+ of diff output. My workflow then assumes that I post that diff into the corresponding GitHub release body, but prior to doing that I'm pre-formatting that release' body:Here I attempted to
cut
the output to 55536 characters, so that overall release body doesn't not exceed 65536. However, it doesn't have much effect, as everything seems to be failing even before the task is executed. I receive the following error for "Build release body" step:It fails with same error even if I do a simple:
or
like if the task definition could not be rendered, because it contains too much text.
What works, however, is if I do some expression against the output, e.g.:
but that doesn't help to extract the value by any means.
Just to mention, things work fine with smaller outputs. And in my case it's all on GitHub Enterprise v3.0.
Proposal
What if the action would also optionally write the
output
to a file? Such file could then be further processed, or just consumed as artifact.The text was updated successfully, but these errors were encountered: