-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
First off, this is really good stuff here.
Tried code with multiple outputs and it seems to negate both when I do it. 2 places where I call writeOutput hoping to set outputs and I get errors. See below.
outputs:
result1:
description: Rendered file content1
result2:
description: Rendered file content2Changed function to:
func writeOutput(name string, output string) error {...}
"Error! {\"statusCode\":200,\"statusMessage\":\"OK\",\"ok\":false,\"result\":\"{\\\"ok\\\":false,\\\"error\\\":\\\"invalid_blocks\\\",\\\"errors\\\":[\\\"failed to match all allowed schemas [json-pointer:/blocks/2/text]\\\",\\\"must be more than 0 characters [json-pointer:/blocks/2/text/text]\\\"],\\\"response_metadata\\\":{\\\"messages\\\":[\\\"[ERROR] failed to match all allowed schemas [json-pointer:/blocks/2/text]\\\",\\\"[ERROR] must be more than 0 characters [json-pointer:/blocks/2/text/text]\\\"]}}\",\"response\":{\"ok\":false,\"error\":\"invalid_blocks\",\"errors\":[\"failed to match all allowed schemas [json-pointer:/blocks/2/text]\",\"must be more than 0 characters [json-pointer:/blocks/2/text/text]\"],\"response_metadata\":{\"messages\":[\"[ERROR] failed to match all allowed schemas [json-pointer:/blocks/2/text]\",\"[ERROR] must be more than 0 characters [json-pointer:/blocks/2/text/text]\"]}}} (response)"Show less
--
build-and-push-to-gcrUnable to process file command 'output' successfully.
build-and-push-to-gcrInvalid value. EOF marker missing new line.
"Error! {\"statusCode\":200,\"statusMessage\":\"OK\",\"ok\":false,\"result\":\"{\\\"ok\\\":false,\\\"error\\\":\\\"invalid_blocks\\\",\\\"errors\\\":[\\\"failed to match all allowed schemas [json-pointer:/blocks/2/text]\\\",\\\"must be more than 0 characters [json-pointer:/blocks/2/text/text]\\\"],\\\"response_metadata\\\":{\\\"messages\\\":[\\\"[ERROR] failed to match all allowed schemas [json-pointer:/blocks/2/text]\\\",\\\"[ERROR] must be more than 0 characters [json-pointer:/blocks/2/text/text]\\\"]}}\",\"response\":{\"ok\":false,\"error\":\"invalid_blocks\",\"errors\":[\"failed to match all allowed schemas [json-pointer:/blocks/2/text]\",\"must be more than 0 characters [json-pointer:/blocks/2/text/text]\"],\"response_metadata\":{\"messages\":[\"[ERROR] failed to match all allowed schemas [json-pointer:/blocks/2/text]\",\"[ERROR] must be more than 0 characters [json-pointer:/blocks/2/text/text]\"]}}} (response)"
[build-and-push-to-gcr](https://github.com/ncr-bsp/docker-java/actions/runs/6513226036/job/17692415054#step:7:28)
Unable to process file command 'output' successfully.
[build-and-push-to-gcr](https://github.com/ncr-bsp/docker-java/actions/runs/6513226036/job/17692415054#step:7:29)
Invalid value. EOF marker missing new line.
can you help?
Metadata
Metadata
Assignees
Labels
No labels