Skip to content

Commit

Permalink
Cleanup poetry version extraction.
Browse files Browse the repository at this point in the history
  • Loading branch information
qwenger committed Nov 3, 2023
1 parent 527d649 commit 55c4c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup-poetry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
if: inputs.use-pipx == 'false'
- run: poetry config --local virtualenvs.in-project true
shell: bash
- run: echo "::set-output name=v::$(poetry --version | cut -d' ' -f3)"
- run: echo "::set-output name=v::$(poetry --version | cut -d' ' -f3 | cut -d')' -f1)"
shell: bash
id: poetry-version
- uses: actions/cache@v3
Expand Down

0 comments on commit 55c4c54

Please sign in to comment.