Skip to content

Commit 5167771

Browse files
author
Stephen Gutekanst
committed
CI: use pkg.machengine.org for Zig binaries
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
1 parent 51e18e6 commit 5167771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ func downloadExtractZig(version, dst, archiveFileTmpPath string) error {
272272
stripPathComponents = 0
273273
}
274274
archiveFileTmpPath = archiveFileTmpPath + "." + extension
275-
url := fmt.Sprintf("https://ziglang.org/builds/zig-%s-%s-%s.%s", zigOS(hostGOOS), zigArch(hostGOARCH), version, extension)
275+
url := fmt.Sprintf("https://pkg.machengine.org/zig/zig-%s-%s-%s.%s", zigOS(hostGOOS), zigArch(hostGOARCH), version, extension)
276276
_ = os.RemoveAll(archiveFileTmpPath)
277277
if err := os.MkdirAll(filepath.Dir(archiveFileTmpPath), os.ModePerm); err != nil {
278278
return errors.Wrap(err, "MkdirAll")

0 commit comments

Comments
 (0)