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 08b3a2e commit d516713Copy full SHA for d516713
.github/actions/setup/action.yml
@@ -37,18 +37,13 @@ runs:
37
shell: bash
38
run: echo "${{ inputs.cache }}/tools/Scripts" >> $GITHUB_PATH
39
40
- - name: "Check poetry installation"
41
- id: check-poetry
+ - name: "Install Poetry"
42
43
- continue-on-error: true
44
- run: poetry --version
45
-
46
- - name: "Install poetry"
47
- shell: bash
48
- if: ${{ steps.check-poetry.outcome == 'failure'}}
49
run: |
+ if ! poetry --version; then
50
"${{ steps.setup-python.outputs.python-path }}" -m venv "${{ inputs.cache }}/tools"
51
pip install poetry==${{ inputs.poetry-version }}
+ fi
52
53
- name: "Install development dependencies"
54
0 commit comments