Skip to content

Commit ad2be03

Browse files
feat: build for release
1 parent e3fc66e commit ad2be03

File tree

16 files changed

+218
-94
lines changed

16 files changed

+218
-94
lines changed

build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"owner":"technote-space","repo":"gh-actions-template","sha":"99b75576ea44ae819b7664065fc78c7d5308cb08","ref":"refs/tags/v0.7.16","tagName":"v0.7.16","branch":"gh-actions","tags":["v0.7.16","v0.7","v0"],"updated_at":"2021-08-15T07:41:23.668Z"}
1+
{"owner":"technote-space","repo":"gh-actions-template","sha":"e811ca3abfc0125c2e78afc3fcd5ed74c04ad366","ref":"refs/tags/test/v0.7.17.1172740966","tagName":"test/v0.7.17.1172740966","branch":"gh-actions","tags":["test/v0.7.17.1172740966","test/v0.7.17","test/v0.7","test/v0"],"updated_at":"2021-08-27T02:25:10.143Z"}

lib/main.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ const process_1 = require("./process");
1111
(async () => {
1212
const logger = new github_action_log_helper_1.Logger();
1313
const context = new context_1.Context();
14-
github_action_helper_1.ContextHelper.showActionInfo(path_1.resolve(__dirname, '..'), logger, context);
15-
if (!filter_github_action_1.isTargetEvent(constant_1.TARGET_EVENTS, context)) {
14+
github_action_helper_1.ContextHelper.showActionInfo((0, path_1.resolve)(__dirname, '..'), logger, context);
15+
if (!(0, filter_github_action_1.isTargetEvent)(constant_1.TARGET_EVENTS, context)) {
1616
logger.info('This is not target event.');
1717
return;
1818
}
19-
await process_1.execute(logger, github_action_helper_1.Utils.getOctokit(), context);
19+
await (0, process_1.execute)(logger, github_action_helper_1.Utils.getOctokit(), context);
2020
})().catch(error => {
2121
console.log(error);
22-
core_1.setFailed(error.message);
22+
(0, core_1.setFailed)(error.message);
2323
});

lib/process.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const issue_1 = require("./utils/issue");
66
const misc_1 = require("./utils/misc");
77
const execute = async (logger, octokit, context) => {
88
logger.startProcess('Dump context');
9-
console.log(misc_1.getPayload(context));
9+
console.log((0, misc_1.getPayload)(context));
1010
logger.startProcess('Command test');
1111
const command = new github_action_helper_1.Command(logger);
1212
await command.execAsync({
@@ -19,7 +19,7 @@ const execute = async (logger, octokit, context) => {
1919
logger.debug('debug...');
2020
logger.log('log log log');
2121
logger.startProcess('Get issues');
22-
const issues = await issue_1.getIssues(octokit, context);
22+
const issues = await (0, issue_1.getIssues)(octokit, context);
2323
console.log(issues.map(issue => issue.title));
2424
logger.endProcess();
2525
};

node_modules/.yarn-integrity

Lines changed: 48 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/core/README.md

Lines changed: 50 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/core/lib/command.d.ts

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

node_modules/@actions/core/lib/core.d.ts

Lines changed: 38 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/core/lib/core.js

Lines changed: 17 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/core/lib/core.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.

node_modules/@actions/core/lib/utils.d.ts

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)