Skip to content

Commit

Permalink
Fix: Use --value instead of -v for getting the pipx environment vars
Browse files Browse the repository at this point in the history
PR pypa/pipx#1159 did break the CLI and changed
the `-v` argument to upper letter `-V`
  • Loading branch information
bjoernricks authored and greenbonebot committed Jan 10, 2024
1 parent 119db28 commit bc40be3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pipx/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ runs:
fi
pipx environment
echo "home=$(pipx environment -v PIPX_HOME)" >> $GITHUB_OUTPUT
echo "bin=$(pipx environment -v PIPX_BIN_DIR)" >> $GITHUB_OUTPUT
echo "venvs=$(pipx environment -v PIPX_LOCAL_VENVS)" >> $GITHUB_OUTPUT
echo "shared=$(pipx environment -v PIPX_SHARED_LIBS)" >> $GITHUB_OUTPUT
echo "home=$(pipx environment --value PIPX_HOME)" >> $GITHUB_OUTPUT
echo "bin=$(pipx environment --value PIPX_BIN_DIR)" >> $GITHUB_OUTPUT
echo "venvs=$(pipx environment --value PIPX_LOCAL_VENVS)" >> $GITHUB_OUTPUT
echo "shared=$(pipx environment --value PIPX_SHARED_LIBS)" >> $GITHUB_OUTPUT
shell: bash
- name: Ensure pipx bin directory is in PATH
run: |
Expand Down

0 comments on commit bc40be3

Please sign in to comment.