Remove old parameter that is deprecated

This commit is contained in:
Konrad Pabjan committed 2019-11-05 15:43:35 -05:00
1 parent 6654142a95
commit 28a6c1b915
3 files changed
+2 -12

No files matched your search

+1 -4
View File
@@ -21,10 +21,7 @@ const path = __importStar(require("path"));
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
let version = core.getInput('version');
if (!version) {
version = core.getInput('python-version');
}
let version = core.getInput('python-version');
if (version) {
const arch = core.getInput('architecture', { required: true });
yield finder.findPythonVersion(version, arch);