From 3d84912f195f22a3cda7df5b004cb4d8d112803a Mon Sep 17 00:00:00 2001 From: Alif Rachmawadi Date: Wed, 4 Mar 2020 16:26:06 +0000 Subject: [PATCH] drop deprecated input --- dist/index.js | 2 +- src/index.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index 5eb0523..4e8cb62 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2877,7 +2877,7 @@ const installer = __importStar(__webpack_require__(749)); function run() { return __awaiter(this, void 0, void 0, function* () { try { - const version = core.getInput('version') || core.getInput('flutter-version') || ''; + const version = core.getInput('flutter-version') || ''; const channel = core.getInput('channel') || 'stable'; yield installer.getFlutter(version, channel); } diff --git a/src/index.ts b/src/index.ts index 60276c6..f449b00 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,8 +3,7 @@ import * as installer from './installer'; async function run() { try { - const version = - core.getInput('version') || core.getInput('flutter-version') || ''; + const version = core.getInput('flutter-version') || ''; const channel = core.getInput('channel') || 'stable'; await installer.getFlutter(version, channel);