Skip to content

Commit 21b7e24

Browse files
ugrc-release-bot[bot]steveoh
authored andcommitted
chore: build release assets
1 parent fa36e79 commit 21b7e24

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

dist/index.js

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29968,7 +29968,7 @@ const github = __importStar(__nccwpck_require__(3228));
2996829968
const geocode_1 = __nccwpck_require__(3459);
2996929969
const util_1 = __nccwpck_require__(4527);
2997029970
async function run() {
29971-
core.notice('Starting action');
29971+
core.debug('Starting action');
2997229972
try {
2997329973
const { context } = github;
2997429974
const payload = context.payload;
@@ -29983,16 +29983,31 @@ async function run() {
2998329983
}
2998429984
const octokit = (0, util_1.getOctokit)();
2998529985
const { addresses } = (0, util_1.generateTokens)(commentBody);
29986-
core.notice(`geocoding ${addresses.length} addresses`);
2998729986
const results = await (0, geocode_1.geocode)(addresses, core.getInput('API_KEY'));
29988-
core.debug(`results: ${JSON.stringify(results)}`);
29989-
core.notice('geocoding complete, updating comment');
29987+
core.notice(`geocoding ${addresses.length} addresses
29988+
29989+
### Inputs
29990+
29991+
${addresses.join('\n')}
29992+
29993+
### Results
29994+
29995+
${JSON.stringify(results, null, 2)}`);
29996+
const body = `${(0, util_1.formatResults)(results)}
29997+
29998+
### Initiated by
29999+
30000+
\`\`\`
30001+
${commentBody}
30002+
\`\`\`
30003+
`;
2999030004
await octokit.rest.issues.updateComment({
2999130005
owner: context.repo.owner,
2999230006
repo: context.repo.repo,
2999330007
comment_id: payload.comment.id,
29994-
body: (0, util_1.formatResults)(results),
30008+
body,
2999530009
});
30010+
core.info('geocoding complete, updating comment');
2999630011
}
2999730012
catch (e) {
2999830013
core.error(e);

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.

0 commit comments

Comments
 (0)