Skip to content

Commit

Permalink
ci: fix poetry export for poetry v2
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Feb 11, 2025
1 parent 995da7d commit 70b395f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/setup-poetry/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ runs:
- if: ${{ runner.os == 'macOS' && runner.arch == 'ARM64' }}
run: |
pip install poetry
pip install poetry-plugin-export
shell: bash

# NOTE: Below commands currently causes a faulty behaviour in pipx where
Expand All @@ -24,6 +25,7 @@ runs:
- if: ${{ runner.os != 'macOS' || runner.arch != 'ARM64' }}
run: |
pipx install poetry ${{ runner.os == 'macOS' && '--python "$Python_ROOT_DIR/bin/python"' || '' }}
pipx inject poetry poetry-plugin-export
shell: bash

- name: Get full Python version
Expand Down

0 comments on commit 70b395f

Please sign in to comment.