drop deprecated input

This commit is contained in:
Alif Rachmawadi
2020-03-04 16:26:06 +00:00
parent fbce6ef0db
commit 3d84912f19
2 changed files with 2 additions and 3 deletions

2
dist/index.js vendored
View File

@@ -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);
}

View File

@@ -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);