Merge pull request #9 from pawamoy/patch-2
Help PDM to find interpreters
This commit is contained in:
commit
8b3dbb8ada
@ -37,7 +37,7 @@ async function run(): Promise<void> {
|
|||||||
arch
|
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;
|
const pdmVersionOutput = (await execChild('pdm --version')).stdout;
|
||||||
if (process.platform === 'linux') {
|
if (process.platform === 'linux') {
|
||||||
// See https://github.com/actions/virtual-environments/issues/2803
|
// See https://github.com/actions/virtual-environments/issues/2803
|
||||||
|
Loading…
x
Reference in New Issue
Block a user