Provide pr-body as output from step

This commit is contained in:
Luc Perkins 2024-06-03 14:32:30 -07:00
parent 5d674d8347
commit d3aa136776
No known key found for this signature in database
GPG key ID: 16DB1108FB591835
4 changed files with 9 additions and 2 deletions

View file

@ -6,6 +6,8 @@ import * as fs from "fs";
const DEFAULT_FLAKE_DIR = ".";
const PR_BODY_OUTPUT_KEY = "pr-body";
const EVENT_EXECUTION_FAILURE = "execution_failure";
class UpdateFlakeLockAction extends DetSysAction {
@ -42,6 +44,8 @@ class UpdateFlakeLockAction extends DetSysAction {
for (const directory of this.flakeDirs) {
await this.updateFlakeInDirectory(directory);
}
actionsCore.setOutput(PR_BODY_OUTPUT_KEY, "THIS IS JUST A TEST");
}
// No post phase