mirror of
https://github.com/actions/setup-python.git
synced 2026-01-19 19:38:56 +08:00
Remove pyproject.toml from default values
This commit is contained in:
parent
6f8266d242
commit
556ac3e0ad
3 changed files with 5 additions and 100 deletions
|
|
@ -10,8 +10,7 @@ import {
|
|||
logWarning,
|
||||
IS_MAC,
|
||||
getVersionInputFromFile,
|
||||
getVersionInputFromPlainFile,
|
||||
getVersionInputFromTomlFile
|
||||
getVersionInputFromPlainFile
|
||||
} from './utils';
|
||||
|
||||
function isPyPyVersion(versionSpec: string) {
|
||||
|
|
@ -32,7 +31,6 @@ async function cacheDependencies(cache: string, pythonVersion: string) {
|
|||
function resolveVersionInputFromDefaultFile(): string[] {
|
||||
const couples: [string, (versionFile: string) => string[]][] = [
|
||||
['.python-version', getVersionInputFromPlainFile],
|
||||
['pyproject.toml', getVersionInputFromTomlFile]
|
||||
];
|
||||
for (const [versionFile, _fn] of couples) {
|
||||
logWarning(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue