diff --git a/dist/setup-pdm.js b/dist/setup-pdm.js index d4e9ae7..d2b32fd 100644 --- a/dist/setup-pdm.js +++ b/dist/setup-pdm.js @@ -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"); } diff --git a/src/setup-pdm.ts b/src/setup-pdm.ts index 83357f7..b59bec3 100644 --- a/src/setup-pdm.ts +++ b/src/setup-pdm.ts @@ -21,7 +21,7 @@ async function run(): Promise { 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'); }