Skip to content

Commit

Permalink
Fix extra newlines in output
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzatron committed Sep 1, 2022
1 parent b861779 commit e49127d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/actions.js
@@ -0,0 +1,6 @@
import { issueCommand } from "@actions/core/lib/command";

// FIXME: See https://github.com/actions/toolkit/issues/777
export function setOutput(name, value) {
issueCommand("set-output", { name }, value);
}
2 changes: 1 addition & 1 deletion src/main.js
Expand Up @@ -5,10 +5,10 @@ import {
info,
notice,
setFailed,
setOutput,
warning,
} from "@actions/core";
import { context, getOctokit } from "@actions/github";
import { setOutput } from "./actions.js";
import { modifyReleaseAssets } from "./asset.js";
import { renderReleaseBody } from "./body.js";
import { readConfig } from "./config/reading.js";
Expand Down

0 comments on commit e49127d

Please sign in to comment.