install toml

This commit is contained in:
Frost Ming 2021-07-19 12:47:46 +08:00
parent bb0e61e622
commit 52c1246bd4
No known key found for this signature in database
GPG Key ID: 5BFA9CB4DDA943BF
2 changed files with 2 additions and 2 deletions

2
dist/setup-pdm.js vendored
View File

@ -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");
}

View File

@ -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');
}