Add set_output tool (#205)

This commit is contained in:
Mateusz Burzyński
2026-01-29 22:49:00 +00:00
committed by pullfrog[bot]
parent 2daab6fc78
commit c1f8247077
9 changed files with 116 additions and 7 deletions
+4
View File
@@ -15,6 +15,10 @@ async function run(): Promise<void> {
if (!result.success) {
throw new Error(result.error || "Agent execution failed");
}
if (result.result) {
core.setOutput("result", result.result);
}
} catch (error) {
const errorMessage = error instanceof Error ? error.message : "Unknown error occurred";
core.setFailed(`Action failed: ${errorMessage}`);