Skip to content

Commit 971c586

Browse files
committed
Forgot to build main.ts
1 parent 695b06d commit 971c586

2 files changed

Lines changed: 1 addition & 27 deletions

File tree

action.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ branding:
55
icon: alert-circle
66
color: blue
77
inputs:
8-
project:
9-
description: 'Optional project path.'
10-
required: false
11-
build:
12-
description: 'Optional build reference path.'
13-
required: false
148
executable:
159
description: 'Compilation Executable'
1610
default: 'rbxtsc'

dist/main.js

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,9 @@ const exec_1 = require("@actions/exec");
1414
const path_1 = require("path");
1515
function run() {
1616
return __awaiter(this, void 0, void 0, function* () {
17-
const project = (0, core_1.getInput)('project');
18-
const build = (0, core_1.getInput)('build');
1917
const executable = (0, core_1.getInput)('executable');
2018
console.log(`##[add-matcher]${(0, path_1.join)(__dirname, '..', '.github', 'tsc.json')}`);
21-
const args = [
22-
`${(0, path_1.join)(process.cwd(), 'node_modules/.bin', executable)}`,
23-
'--noEmit',
24-
'--noErrorTruncation',
25-
'--pretty',
26-
'false',
27-
'--incremental',
28-
'false',
29-
];
30-
if (project) {
31-
args.push('--project', project);
32-
}
33-
if (build) {
34-
args.splice(1, 0, '--build', build);
35-
// Remove --noEmit and --noErrorTruncation, which are unsupported with --build
36-
args.splice(3, 2);
37-
// Change --incremental false for --incremental true, as incremental builds are required for composite builds
38-
args.splice(-1, 1, 'true');
39-
}
19+
const args = [`${(0, path_1.join)(process.cwd(), 'node_modules/.bin', executable)}`];
4020
try {
4121
yield (0, exec_1.exec)('node', args);
4222
}

0 commit comments

Comments
 (0)