Skip to content

Commit

Permalink
Fix bug in poetry action (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vitaliy authored Aug 26, 2022
1 parent 94b3f4d commit 0197aef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions install_poetry/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ inputs:
required: false
default: ".container/requirements.txt"

install_preivew:
install_preview:
description: Install preview version of Poetry. Optional. Default value is 'true'
required: false
default: "false"
Expand Down Expand Up @@ -75,7 +75,7 @@ runs:
REQUIREMENTS_PATH: ${{ inputs.requirements_path }}
REPO_URL: ${{ inputs.pypi_repo_url }}
INSTALL_PREVIEW: ${{ inputs.install_preview }}
VERSION: ${{ inputs.install_preview }}
VERSION: ${{ inputs.version }}
EXPORT_CREDENTIALS: ${{ inputs.export_credentials }}
EXTRAS: ${{ inputs.install_extras }}
INSTALL_NO_ROOT: ${{ inputs.install_only_dependencies }}
Expand Down
2 changes: 1 addition & 1 deletion install_poetry/install_poetry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [[ $INSTALL_PREVIEW == "true" ]]; then
export POETRY_PREVIEW=1
fi

curl -sSL https://install.python-poetry.org | python3 - --preview
curl -sSL https://install.python-poetry.org | python3 -
export PATH=/github/home/.local/bin:$PATH
poetry config repositories.custom_repo "$REPO_URL"

Expand Down

0 comments on commit 0197aef

Please sign in to comment.