drop deprecated input
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -2877,7 +2877,7 @@ const installer = __importStar(__webpack_require__(749));
|
|||||||
function run() {
|
function run() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
try {
|
try {
|
||||||
const version = core.getInput('version') || core.getInput('flutter-version') || '';
|
const version = core.getInput('flutter-version') || '';
|
||||||
const channel = core.getInput('channel') || 'stable';
|
const channel = core.getInput('channel') || 'stable';
|
||||||
yield installer.getFlutter(version, channel);
|
yield installer.getFlutter(version, channel);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,7 @@ import * as installer from './installer';
|
|||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
try {
|
try {
|
||||||
const version =
|
const version = core.getInput('flutter-version') || '';
|
||||||
core.getInput('version') || core.getInput('flutter-version') || '';
|
|
||||||
const channel = core.getInput('channel') || 'stable';
|
const channel = core.getInput('channel') || 'stable';
|
||||||
|
|
||||||
await installer.getFlutter(version, channel);
|
await installer.getFlutter(version, channel);
|
||||||
|
|||||||
Reference in New Issue
Block a user