mirror of
https://github.com/actions/setup-python.git
synced 2025-07-02 07:33:47 +00:00
Remove condition with sudo
This commit is contained in:
parent
8b4ba3d70d
commit
63cdca158a
3 changed files with 3 additions and 8 deletions
5
dist/index.js
vendored
5
dist/index.js
vendored
|
@ -2623,11 +2623,8 @@ function installPython(workingDirectory) {
|
|||
if (IS_WINDOWS) {
|
||||
yield exec.exec('powershell', ['./setup.ps1'], options);
|
||||
}
|
||||
else if (IS_MACOS) {
|
||||
yield exec.exec('bash', ['./setup.sh'], options);
|
||||
}
|
||||
else {
|
||||
yield exec.exec('sudo', ['-n', 'bash', './setup.sh'], options);
|
||||
yield exec.exec('bash', ['./setup.sh'], options);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue