mirror of https://github.com/actions/setup-python
Change deprecation comment to past tense (#723)
This commit is contained in:
parent
f6cc428f53
commit
8635b1ccc5
|
@ -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 New Issue