get latest release automatically

This commit is contained in:
Alif Rachmawadi
2019-08-16 18:30:17 +07:00
parent b14481040a
commit 39e54cc1e6
4 changed files with 98 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ import * as installer from './installer';
async function run() {
try {
const version = core.getInput('version', {required: true});
const version = core.getInput('version', {required: false}) || '';
const channel = core.getInput('channel', {required: false}) || 'stable';
await installer.getFlutter(version, channel);