fix: expose conclusion output (#1549)

This commit is contained in:
Minh Vu
2026-08-07 07:58:52 -07:00
committed by GitHub
parent 7764306e92
commit ecf573bd65
2 changed files with 18 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { readFileSync } from "node:fs";
import { describe, expect, test } from "bun:test";
describe("action metadata", () => {
test("should expose the conclusion output from the run step", () => {
const metadata = readFileSync(
new URL("../action.yml", import.meta.url),
"utf8",
);
expect(metadata).toMatch(
/^ conclusion:\n description: .+\n value: \$\{\{ steps\.run\.outputs\.conclusion \}\}$/m,
);
});
});