Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
austenstone committed Aug 21, 2022
1 parent f520b31 commit 3d06153
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11810,15 +11810,11 @@ const run = () => __awaiter(void 0, void 0, void 0, function* () {
core.debug(JSON.stringify({ langResponse }));
const keys = Object.keys(langResponse.data);
core.setOutput('languages', JSON.stringify(keys));
const { viewer: { login }, } = yield octokit.graphql(`{
viewer {
login
}
}`);
core.info(`Hello, ${login}!`);
}
catch (error) {
core.setFailed(error instanceof Error ? error.message : JSON.stringify(error));
core.startGroup(error instanceof Error ? error.message : JSON.stringify(error));
core.info(JSON.stringify(error, null, 2));
core.endGroup();
}
});
exports["default"] = run;
Expand Down

0 comments on commit 3d06153

Please sign in to comment.