Help PDM to find interpreters
This commit is contained in:
parent
f97e1f4c28
commit
1e7f16f25b
@ -37,7 +37,7 @@ async function run(): Promise<void> {
|
||||
arch
|
||||
);
|
||||
}
|
||||
await exec.exec('pdm', ['use', '-f', installedPython.version]);
|
||||
await exec.exec('pdm', ['use', '-f', 'python' + installedPython.version.replace(/^([23]\.\d+).*$/g, '$1')]);
|
||||
const pdmVersionOutput = (await execChild('pdm --version')).stdout;
|
||||
if (process.platform === 'linux') {
|
||||
// See https://github.com/actions/virtual-environments/issues/2803
|
||||
|
Loading…
x
Reference in New Issue
Block a user