We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b26791 commit 52bf528Copy full SHA for 52bf528
.github/actions/python-environment/action.yml
@@ -49,6 +49,15 @@ runs:
49
python-version: ${{ inputs.python-version }}
50
cache: ${{ inputs.use-cache == 'true' && 'poetry' || '' }}
51
52
+ - name: Setup Poetry environment
53
+ shell: bash
54
+ working-directory: ${{ inputs.working-directory }}
55
+ run: |
56
+ PYTHON_PATH="$(which $PYTHON_BINARY)"
57
+ poetry env use "$PYTHON_PATH"
58
+ env:
59
+ PYTHON_BINARY: "python${{ inputs.poetry-version }}"
60
+
61
- name: Poetry install with extras
62
working-directory: ${{ inputs.working-directory }}
63
shell: bash
0 commit comments