Skip to content

Commit

Permalink
Refs #20091: Remove sudo for pip installation
Browse files Browse the repository at this point in the history
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
  • Loading branch information
EduPonz committed Feb 16, 2024
1 parent cbcbd96 commit eb18688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ubuntu/install_python_packages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ runs:
# Install python packages if any
if [[ ! -z "${{ inputs.packages }}" ]] ; then
sudo pip3 install ${UPGRADE_FLAG} -U \
pip3 install ${UPGRADE_FLAG} -U \
${{ inputs.packages }}
fi
# Install requirements file if any
if [[ ! -z "${{ inputs.requirements_file_name }}" ]] ; then
sudo pip3 install ${UPGRADE_FLAG} -U \
pip3 install ${UPGRADE_FLAG} -U \
-r ${{ inputs.requirements_file_name }}
fi
Expand Down

0 comments on commit eb18688

Please sign in to comment.