mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-06-10 21:32:19 +02:00
Remove old parameter that is deprecated
This commit is contained in:
parent
6654142a95
commit
28a6c1b915
3 changed files with 2 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue