Skip to content

Commit 3870ea0

Browse files
feat: add summary to output of action (#14)
1 parent f463a10 commit 3870ea0

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ export async function run(): Promise<void> {
4242
if (ui5VersChecker.hasErrors) {
4343
core.setFailed("Some manifest.json files contain invalid/outdated versions");
4444
}
45-
core.summary.write();
45+
core.setOutput("summary", core.summary.stringify());
46+
await core.summary.write();
4647
} catch (error) {
4748
// Fail the workflow run if an error occurs
4849
if (error instanceof Error) core.setFailed(error.message);

0 commit comments

Comments
 (0)