File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 57
57
- name : Run Build
58
58
shell : cmd
59
59
run : build.bat
60
+ - name : Cleanup rebuild interpreters
61
+ run : Get-ChildItem -Path $(Get-Location) -File -Include *.old_interp -Recurse | Remove-Item -Force -Verbose
60
62
- uses : actions/upload-artifact@v4
61
63
with :
62
64
name : Nuitka-Python311_windows_x64
Original file line number Diff line number Diff line change @@ -477,7 +477,7 @@ def run_rebuild():
477
477
if os .path .splitdrive (temp_path )[0 ] == os .path .splitdrive (sys .executable )[0 ]:
478
478
shutil .move (sys .executable , temp_path )
479
479
else :
480
- shutil .move (sys .executable , sys .executable + uuid .uuid4 ().hex + ".old " )
480
+ shutil .move (sys .executable , sys .executable + uuid .uuid4 ().hex + ".old_interp " )
481
481
ctypes .windll .kernel32 .MoveFileExW (temp_path , None , MOVEFILE_DELAY_UNTIL_REBOOT )
482
482
483
483
shutil .move (os .path .join (build_dir , "python.exe" ), interpreter_path )
You can’t perform that action at this time.
0 commit comments