install toml
This commit is contained in:
parent
bb0e61e622
commit
52c1246bd4
2
dist/setup-pdm.js
vendored
2
dist/setup-pdm.js
vendored
@ -6180,7 +6180,7 @@ async function run() {
|
||||
const arch2 = core3.getInput("architecture") || os2.arch();
|
||||
const pdmVersion = core3.getInput("version");
|
||||
const pdmPackage = pdmVersion ? `pdm==${pdmVersion}` : "pdm";
|
||||
const cmdArgs = ["-m", "pip", "install", "-U", pdmPackage];
|
||||
const cmdArgs = ["-m", "pip", "install", "-U", pdmPackage, "toml"];
|
||||
if (core3.getInput("prerelease") === "true") {
|
||||
cmdArgs.push("--pre");
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ async function run(): Promise<void> {
|
||||
const arch = core.getInput('architecture') || os.arch();
|
||||
const pdmVersion = core.getInput('version');
|
||||
const pdmPackage = pdmVersion ? `pdm==${pdmVersion}` : 'pdm';
|
||||
const cmdArgs = ['-m', 'pip', 'install', '-U', pdmPackage];
|
||||
const cmdArgs = ['-m', 'pip', 'install', '-U', pdmPackage, 'toml'];
|
||||
if (core.getInput('prerelease') === 'true') {
|
||||
cmdArgs.push('--pre');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user