Skip to content

Commit

Permalink
fix(ci): use python-path for poetry env as X.Y not working on windo…
Browse files Browse the repository at this point in the history
  • Loading branch information
zyf722 committed Aug 17, 2024
1 parent a691148 commit 93f5afe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ jobs:
pipx install poetry
- name: Set up Python
id: python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry

- name: Set Poetry environment
run: poetry env use ${{ matrix.python-version }}
run: poetry env use '${{ steps.python.outputs.python-path }}'


- name: Install dependencies
run: poetry install
Expand Down

0 comments on commit 93f5afe

Please sign in to comment.