Skip to content

Commit 440c72c

Browse files
committed
fix build-python.yml
1 parent abae21b commit 440c72c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,20 +236,20 @@ jobs:
236236
cd windows
237237
Start-Process -Wait -FilePath "python-${{ env.PYTHON_VERSION }}-amd64.exe" `
238238
-ArgumentList "/quiet", "InstallAllUsers=1", "PrependPath=1", `
239-
"Include_test=0", "TargetDir=C:\python314-dist"
239+
"Include_test=0", "TargetDir=C:\hostedtoolcache\windows\Python\3.14.0\x64"
240240
shell: powershell
241241

242242
- name: Verify installation and compile bytecode
243243
run: |
244244
dir C:\hostedtoolcache\windows\Python\3.14.0\x64
245245
C:\hostedtoolcache\windows\Python\3.14.0\x64\python.exe --version
246-
C:\hostedtoolcache\windows\Python\3.14.0\x64\python.exe -m compileall -b C:\python314-dist\Lib
246+
C:\hostedtoolcache\windows\Python\3.14.0\x64\python.exe -m compileall -b C:\hostedtoolcache\windows\Python\3.14.0\x64\Lib
247247
shell: cmd
248248

249249
- name: Create archive
250250
run: |
251251
cd windows
252-
7z a -xr@exclude.txt python-windows-for-dart-${{ env.PYTHON_VERSION_SHORT }}.zip C:\python314-dist\*
252+
7z a -xr@exclude.txt python-windows-for-dart-${{ env.PYTHON_VERSION_SHORT }}.zip C:\hostedtoolcache\windows\Python\3.14.0\x64*
253253
shell: cmd
254254

255255
- name: Upload Windows artifacts

0 commit comments

Comments
 (0)