We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b88433e commit d13e962Copy full SHA for d13e962
dist/index.js
@@ -1457,7 +1457,11 @@ const tc = __importStar(__webpack_require__(533));
1457
function run() {
1458
return __awaiter(this, void 0, void 0, function* () {
1459
try {
1460
- const version = core.getInput('sqlc-version') || '1.9.0';
+ const version = core.getInput('sqlc-version');
1461
+ if (!version) {
1462
+ core.setFailed(`sqlc-version not set`);
1463
+ return;
1464
+ }
1465
const toolDir = tc.find('sqlc', version, 'x64');
1466
if (toolDir !== '') {
1467
core.addPath(toolDir);
0 commit comments