mirror of
https://github.com/actions/setup-python.git
synced 2025-06-12 15:27:13 +02:00
Remove old parameter that is deprecated
This commit is contained in:
@ -4,10 +4,7 @@ import * as path from 'path';
|
||||
|
||||
async function run() {
|
||||
try {
|
||||
let version = core.getInput('version');
|
||||
if (!version) {
|
||||
version = core.getInput('python-version');
|
||||
}
|
||||
let version = core.getInput('python-version');
|
||||
if (version) {
|
||||
const arch: string = core.getInput('architecture', {required: true});
|
||||
await finder.findPythonVersion(version, arch);
|
||||
|
Reference in New Issue
Block a user