Skip to content

Commit b52ddf0

Browse files
feat: Build for release
1 parent a00e40c commit b52ddf0

File tree

221 files changed

+58716
-5938
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+58716
-5938
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# GitHub Actions Template
22

3-
[![Build Status](https://github.com/technote-space/gh-actions-template/workflows/Build/badge.svg)](https://github.com/technote-space/gh-actions-template/actions)
3+
[![CI Status](https://github.com/technote-space/gh-actions-template/workflows/CI/badge.svg)](https://github.com/technote-space/gh-actions-template/actions)
44
[![codecov](https://codecov.io/gh/technote-space/gh-actions-template/branch/master/graph/badge.svg)](https://codecov.io/gh/technote-space/gh-actions-template)
55
[![CodeFactor](https://www.codefactor.io/repository/github/technote-space/gh-actions-template/badge)](https://www.codefactor.io/repository/github/technote-space/gh-actions-template)
66
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/technote-space/gh-actions-template/blob/master/LICENSE)

build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"tagName":"v0.0.3","branch":"gh-actions","tags":["v0","v0.0","v0.0.3"],"updated_at":"2019-10-06T04:19:37.941Z"}
1+
{"owner":"technote-space","repo":"gh-actions-template","sha":"1fe967cdaaac23c8155b6f450d7497fdba0fa403","ref":"refs/tags/v0.0.8","tagName":"v0.0.8","branch":"gh-actions","tags":["v0","v0.0","v0.0.8"],"updated_at":"2020-01-16T13:47:06.084Z"}

lib/main.js

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,20 @@ const filter_github_action_1 = require("@technote-space/filter-github-action");
1919
const github_action_helper_1 = require("@technote-space/github-action-helper");
2020
const misc_1 = require("./utils/misc");
2121
const constant_1 = require("./constant");
22-
const { showActionInfo } = github_action_helper_1.Utils;
2322
/**
2423
* run
2524
*/
2625
function run() {
2726
return __awaiter(this, void 0, void 0, function* () {
28-
try {
29-
const logger = new github_action_helper_1.Logger();
30-
showActionInfo(path_1.default.resolve(__dirname, '..'), logger, github_1.context);
31-
if (!filter_github_action_1.isTargetEvent(constant_1.TARGET_EVENTS, github_1.context)) {
32-
logger.info('This is not target event.');
33-
return;
34-
}
35-
const octokit = new github_1.GitHub(core_1.getInput('GITHUB_TOKEN', { required: true }));
36-
console.log(octokit);
37-
console.log(misc_1.getPayload(github_1.context));
38-
}
39-
catch (error) {
40-
core_1.setFailed(error.message);
27+
const logger = new github_action_helper_1.Logger();
28+
github_action_helper_1.ContextHelper.showActionInfo(path_1.default.resolve(__dirname, '..'), logger, github_1.context);
29+
if (!filter_github_action_1.isTargetEvent(constant_1.TARGET_EVENTS, github_1.context)) {
30+
logger.info('This is not target event.');
31+
return;
4132
}
33+
const octokit = new github_1.GitHub(core_1.getInput('GITHUB_TOKEN', { required: true }));
34+
console.log(octokit);
35+
console.log(misc_1.getPayload(github_1.context));
4236
});
4337
}
44-
run();
38+
run().catch(error => core_1.setFailed(error.message));

node_modules/.yarn-integrity

Lines changed: 157 additions & 217 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: 33 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.js

Lines changed: 8 additions & 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/command.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/core.d.ts

Lines changed: 14 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/core.js

Lines changed: 23 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/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.

0 commit comments

Comments
 (0)