mirror of
https://github.com/actions/setup-python.git
synced 2024-11-25 10:26:54 +01:00
Change deprecation comment to past tense (#723)
This commit is contained in:
parent
f6cc428f53
commit
8635b1ccc5
2 changed files with 2 additions and 2 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -70224,7 +70224,7 @@ function run() {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (version.startsWith('2')) {
|
if (version.startsWith('2')) {
|
||||||
core.warning('The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672');
|
core.warning('The support for python 2.7 was removed on June 19, 2023. Related issue: https://github.com/actions/setup-python/issues/672');
|
||||||
}
|
}
|
||||||
const installed = yield finder.useCpythonVersion(version, arch, updateEnvironment, checkLatest, allowPreReleases);
|
const installed = yield finder.useCpythonVersion(version, arch, updateEnvironment, checkLatest, allowPreReleases);
|
||||||
pythonVersion = installed.version;
|
pythonVersion = installed.version;
|
||||||
|
|
|
@ -124,7 +124,7 @@ async function run() {
|
||||||
} else {
|
} else {
|
||||||
if (version.startsWith('2')) {
|
if (version.startsWith('2')) {
|
||||||
core.warning(
|
core.warning(
|
||||||
'The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672'
|
'The support for python 2.7 was removed on June 19, 2023. Related issue: https://github.com/actions/setup-python/issues/672'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const installed = await finder.useCpythonVersion(
|
const installed = await finder.useCpythonVersion(
|
||||||
|
|
Loading…
Reference in a new issue