mirror of
https://github.com/actions/setup-python.git
synced 2025-06-29 14:13:48 +00:00
fix: allow to pick which version to use by only removing platform_version for this version
This commit is contained in:
parent
427878c2d3
commit
05b0430d2d
3 changed files with 12 additions and 4 deletions
5
dist/setup/index.js
vendored
5
dist/setup/index.js
vendored
|
@ -71732,7 +71732,10 @@ function getManifest() {
|
|||
// Display each tool
|
||||
manifest.forEach(tool => {
|
||||
tool.files.forEach(f => {
|
||||
f.platform_version = undefined;
|
||||
if (f.platform_version === core.getInput('ignore-platform-version') ||
|
||||
'all' === core.getInput('ignore-platform-version')) {
|
||||
f.platform_version = undefined;
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue