| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0cbcb9a commit bd6b4b6
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -67612,6 +67612,9 @@ function run() { | |||
| 67612 | 67612 | core.info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`); | |
| 67613 | 67613 | } | |
| 67614 | 67614 | else { | |
| 67615 | + if (version.startsWith('2')) { | ||
| 67616 | + core.warning('The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672'); | ||
| 67617 | + } | ||
| 67615 | 67618 | const installed = yield finder.useCpythonVersion(version, arch, updateEnvironment, checkLatest, allowPreReleases); | |
| 67616 | 67619 | pythonVersion = installed.version; | |
| 67617 | 67620 | core.info(`Successfully set up ${installed.impl} (${pythonVersion})`); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -98,6 +98,11 @@ async function run() { | |||
| 98 | 98 | `Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})` | |
| 99 | 99 | ); | |
| 100 | 100 | } else { | |
| 101 | + if (version.startsWith('2')) { | ||
| 102 | + core.warning( | ||
| 103 | + 'The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672' | ||
| 104 | + ); | ||
| 105 | + } | ||
| 101 | 106 | const installed = await finder.useCpythonVersion( | |
| 102 | 107 | version, | |
| 103 | 108 | arch, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments