builder: retry cached archive renames on Windows (#5462)

This commit is contained in:
Jake Bailey
2026-06-12 16:33:13 -07:00
committed by GitHub
parent 2747027ef2
commit 39cde9f9a3
3 changed files with 54 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
//go:build !windows
package builder
import "os"
func robustRename(oldpath, newpath string) error {
return os.Rename(oldpath, newpath)
}