Skip to content

Commit 6af0435

Browse files
Copilott0mdavid-m
andcommitted
Fix Windows build: correct site-packages path in cleanup step
Co-authored-by: t0mdavid-m <57191390+t0mdavid-m@users.noreply.github.com>
1 parent c3715d1 commit 6af0435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-windows-executable-app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ jobs:
248248
- name: Clean up unnecessary Python files
249249
shell: pwsh
250250
run: |
251-
$sitePkgs = "py/Lib/site-packages"
251+
$sitePkgs = "python-${{ env.PYTHON_VERSION }}/Lib/site-packages"
252252
253253
# Remove __pycache__ directories
254254
Get-ChildItem -Path $sitePkgs -Recurse -Directory -Filter "__pycache__" | Remove-Item -Recurse -Force

0 commit comments

Comments
 (0)