From 229b7e0d6eecd32da9f54827f344e3414cc08e13 Mon Sep 17 00:00:00 2001 From: mariugul Date: Tue, 3 Sep 2024 23:44:00 +0200 Subject: [PATCH] ci: fix windows poetry install --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cabbfd..32e4fae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,8 +112,9 @@ jobs: run: | $POETRY_HOME = "C:\\opt\\poetry" python -m venv $POETRY_HOME - $env:POETRY_HOME\Scripts\pip install poetry==1.8.2 - $env:POETRY_HOME\Scripts\poetry --version + $env:PATH = "$POETRY_HOME\Scripts;" + $env:PATH + & "$env:POETRY_HOME\Scripts\pip.exe" install poetry==1.8.2 + & "$env:POETRY_HOME\Scripts\poetry.exe" --version - name: Add Poetry to PATH run: |