Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
feat: build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 25, 2020
1 parent 263ff4b commit 5ba2359
Show file tree
Hide file tree
Showing 20 changed files with 213 additions and 59 deletions.
2 changes: 1 addition & 1 deletion build.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"owner":"technote-space","repo":"get-diff-action","sha":"2387eaee47f0a7784b8c8ced27a8a16551eca7cc","ref":"refs/tags/test/v3.2.1.266207808","tagName":"test/v3.2.1.266207808","branch":"gh-actions","tags":["test/v3.2.1.266207808","test/v3.2.1","test/v3.2","test/v3"],"updated_at":"2020-09-22T03:08:00.360Z"}
{"owner":"technote-space","repo":"get-diff-action","sha":"FETCH_HEAD","ref":"refs/heads/master","tagName":"test/v3.2.1","branch":"gh-actions","tags":["test/v3.2.1","test/v3.2","test/v3"],"updated_at":"2020-09-25T15:32:49.995Z"}
3 changes: 2 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ const core_1 = require("@actions/core");
const context_1 = require("@actions/github/lib/context");
const filter_github_action_1 = require("@technote-space/filter-github-action");
const github_action_helper_1 = require("@technote-space/github-action-helper");
const github_action_log_helper_1 = require("@technote-space/github-action-log-helper");
const process_1 = require("./process");
const constant_1 = require("./constant");
const run = () => __awaiter(void 0, void 0, void 0, function* () {
const logger = new github_action_helper_1.Logger();
const logger = new github_action_log_helper_1.Logger();
const context = new context_1.Context();
github_action_helper_1.ContextHelper.showActionInfo(path_1.resolve(__dirname, '..'), logger, context);
if (!filter_github_action_1.isTargetEvent(constant_1.TARGET_EVENTS, context)) {
Expand Down
3 changes: 2 additions & 1 deletion lib/utils/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ exports.sumResults = exports.getMatchedFiles = exports.getDiffFiles = exports.ge
const path_1 = __importDefault(require("path"));
const core_1 = require("@actions/core");
const github_action_helper_1 = require("@technote-space/github-action-helper");
const github_action_log_helper_1 = require("@technote-space/github-action-log-helper");
const misc_1 = require("./misc");
const constant_1 = require("../constant");
const command = new github_action_helper_1.Command(new github_action_helper_1.Logger());
const command = new github_action_helper_1.Command(new github_action_log_helper_1.Logger());
const getRawInput = (name) => process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';
const getDot = () => core_1.getInput('DOT', { required: true });
const getFilter = () => core_1.getInput('DIFF_FILTER', { required: true });
Expand Down
28 changes: 15 additions & 13 deletions node_modules/.yarn-integrity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions node_modules/@actions/core/lib/command.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 3 additions & 16 deletions node_modules/@actions/core/lib/command.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/@actions/core/lib/command.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 19 additions & 3 deletions node_modules/@actions/core/lib/core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5ba2359

Please sign in to comment.