Skip to content

Commit 4d536e5

Browse files
committed
fix poetry is not found on windows
1 parent 517189b commit 4d536e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
run: |
7474
python -m pip install --upgrade pip setuptools pyinstaller
7575
curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }}
76-
echo "C:\Users\runneradmin\AppData\Roaming\Python\Scripts" | Out-File -FilePath "$env:GITHUB_PATH" -Encoding utf8 -Append
76+
Add-Content $env:GITHUB_PATH "C:\Users\runneradmin\AppData\Roaming\Python\Scripts"
7777
7878
poetry config virtualenvs.create false
7979
poetry install --no-root

0 commit comments

Comments
 (0)