8000 Don't forget to build · sqlc-dev/setup-sqlc@d13e962 · GitHub
[go: up one dir, main page]

Skip to content

Commit d13e962

Browse files
committed
Don't forget to build
1 parent b88433e commit d13e962

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dist/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1457,7 +1457,11 @@ const tc = __importStar(__webpack_require__(533));
14571457
function run() {
14581458
return __awaiter(this, void 0, void 0, function* () {
14591459
try {
1460-
const version = core.getInput('sqlc-version') || '1.9.0';
1460+
const version = core.getInput('sqlc-version');
1461+
if (!version) {
1462+
core.setFailed(`sqlc-version not set`);
1463+
return;
1464+
}
14611465
const toolDir = tc.find('sqlc', version, 'x64');
14621466
if (toolDir !== '') {
14631467
core.addPath(toolDir);

0 commit comments

Comments
 (0)
0