Skip to content

The agent engineering platform.

Use the GitHub-suggested safer pattern for shell interpolation. (#9567)

Predrag Gruevski6c308aabaed9
diff --git a/.github/actions/poetry_setup/action.yml b/.github/actions/poetry_setup/action.yml
index bcc9a60453..6dbe000264 100644
--- a/.github/actions/poetry_setup/action.yml
+++ b/.github/actions/poetry_setup/action.yml
@@ -47,8 +47,12 @@ runs:
~/.cache/pip
key: pip-${{ runner.os }}-${{ runner.arch }}-py-${{ inputs.python-version }}
- - run: pipx install poetry==${{ inputs.poetry-version }} --python python${{ inputs.python-version }}
+ - name: Install poetry
shell: bash
+ env:
+ POETRY_VERSION: ${{ inputs.poetry-version }}
+ PYTHON_VERSION: ${{ inputs.python-version }}
+ run: pipx install "poetry==$POETRY_VERSION" --python "python$PYTHON_VERSION" --verbose
- name: Check Poetry File
shell: bash