From 8635b1ccc5934e73ed3510980fd2e7790b85839b Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Mon, 16 Oct 2023 02:19:29 -0700 Subject: [PATCH] Change deprecation comment to past tense (#723) --- dist/setup/index.js | 2 +- src/setup-python.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index b971768..7bca890 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -70224,7 +70224,7 @@ function run() { } else { 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); pythonVersion = installed.version; diff --git a/src/setup-python.ts b/src/setup-python.ts index 05db90c..0dd45f0 100644 --- a/src/setup-python.ts +++ b/src/setup-python.ts @@ -124,7 +124,7 @@ async function run() { } else { 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' + '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(