Skip to content

Commit

Permalink
💚 Fix Setup Python
Browse files Browse the repository at this point in the history
  • Loading branch information
BalconyJH committed Jan 10, 2025
1 parent 4b8c985 commit 62785de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/setup-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ runs:
run: |
cd ${{ inputs.env-dir }}
install_cmd="pdm install"
install_cmd="pdm install -g"
if [ ! -z "${{ inputs.with-groups }}" ]; then
IFS=',' read -ra groups <<< "${{ inputs.with-groups }}"
Expand All @@ -64,15 +64,15 @@ runs:
fi
if [ "${{ inputs.dev }}" = "true" ]; then
install_cmd="$install_cmd --dev"
install_cmd="$install_cmd -d"
fi
if [ "${{ inputs.production }}" = "true" ]; then
install_cmd="$install_cmd --prod"
fi
if [ "${{ inputs.no-root }}" = "true" ]; then
install_cmd="$install_cmd --no-default"
install_cmd="$install_cmd --no-self"
fi
echo "Running: $install_cmd"
Expand Down

0 comments on commit 62785de

Please sign in to comment.