mirror of
https://github.com/actions/setup-python.git
synced 2025-06-08 14:37:00 +09:00
remove duplicate block
This commit is contained in:
parent
dcd7128984
commit
bedb244a49
2 changed files with 0 additions and 9 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
@ -6742,10 +6742,6 @@ function usePyPy(majorVersion, architecture) {
|
||||||
if (IS_WINDOWS) {
|
if (IS_WINDOWS) {
|
||||||
core.addPath(path.join(installDir, 'Scripts'));
|
core.addPath(path.join(installDir, 'Scripts'));
|
||||||
}
|
}
|
||||||
if (IS_WINDOWS) {
|
|
||||||
const scriptDir = path.join(installDir, 'Scripts');
|
|
||||||
core.addPath(scriptDir);
|
|
||||||
}
|
|
||||||
const impl = 'pypy' + majorVersion.toString();
|
const impl = 'pypy' + majorVersion.toString();
|
||||||
core.setOutput('python-version', impl);
|
core.setOutput('python-version', impl);
|
||||||
return { impl: impl, version: versionFromPath(installDir) };
|
return { impl: impl, version: versionFromPath(installDir) };
|
||||||
|
|
|
@ -71,11 +71,6 @@ function usePyPy(
|
||||||
core.addPath(path.join(installDir, 'Scripts'));
|
core.addPath(path.join(installDir, 'Scripts'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IS_WINDOWS) {
|
|
||||||
const scriptDir = path.join(installDir, 'Scripts');
|
|
||||||
core.addPath(scriptDir);
|
|
||||||
}
|
|
||||||
|
|
||||||
const impl = 'pypy' + majorVersion.toString();
|
const impl = 'pypy' + majorVersion.toString();
|
||||||
core.setOutput('python-version', impl);
|
core.setOutput('python-version', impl);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue