mirror of
https://github.com/actions/setup-python.git
synced 2025-04-19 19:33:29 +00:00
remove duplicate block
This commit is contained in:
parent
dcd7128984
commit
bedb244a49
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -6742,10 +6742,6 @@ function usePyPy(majorVersion, architecture) {
|
||||
if (IS_WINDOWS) {
|
||||
core.addPath(path.join(installDir, 'Scripts'));
|
||||
}
|
||||
if (IS_WINDOWS) {
|
||||
const scriptDir = path.join(installDir, 'Scripts');
|
||||
core.addPath(scriptDir);
|
||||
}
|
||||
const impl = 'pypy' + majorVersion.toString();
|
||||
core.setOutput('python-version', impl);
|
||||
return { impl: impl, version: versionFromPath(installDir) };
|
||||
|
@ -71,11 +71,6 @@ function usePyPy(
|
||||
core.addPath(path.join(installDir, 'Scripts'));
|
||||
}
|
||||
|
||||
if (IS_WINDOWS) {
|
||||
const scriptDir = path.join(installDir, 'Scripts');
|
||||
core.addPath(scriptDir);
|
||||
}
|
||||
|
||||
const impl = 'pypy' + majorVersion.toString();
|
||||
core.setOutput('python-version', impl);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user