Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
add system command line arg
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidthomas committed Mar 22, 2024
1 parent 905ffa0 commit 94961eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ runs:
fi
if [ -n "$INSTALL_ARGS" ]; then
if [ -n "${{ inputs.use-uv }}" ]; then
python -m uv pip install $INSTALL_ARGS
python -m uv pip install --system $INSTALL_ARGS
else
python -m pip install --no-warn-script-location $INSTALL_ARGS
fi
fi
if [ -n "${{ inputs.python-requirements-nohash }}" ]; then
NOHASH_REQ_FILES_ARG="-r $(echo "${{ inputs.python-requirements-nohash }}" | sed "s/,/ -r /g")"
if [ -n "${{ inputs.use-uv }}" ]; then
python -m uv pip install $NOHASH_REQ_FILES_ARG
python -m uv pip install --system $NOHASH_REQ_FILES_ARG
else
python -m pip install --no-warn-script-location $NOHASH_REQ_FILES_ARG
fi
Expand Down

0 comments on commit 94961eb

Please sign in to comment.