Fix Go tarball version in FreeBSD build configuration (#4339)

This commit is contained in:
Zoltan Papp
2025-08-13 13:52:11 +02:00
committed by GitHub
parent 3d4b502126
commit 86a00ab4af

View File

@ -25,8 +25,7 @@ jobs:
release: "14.2" release: "14.2"
prepare: | prepare: |
pkg install -y curl pkgconf xorg pkg install -y curl pkgconf xorg
LATEST_VERSION=$(curl -s https://go.dev/VERSION?m=text|head -n 1) GO_TARBALL="go1.23.12.freebsd-amd64.tar.gz"
GO_TARBALL="$LATEST_VERSION.freebsd-amd64.tar.gz"
GO_URL="https://go.dev/dl/$GO_TARBALL" GO_URL="https://go.dev/dl/$GO_TARBALL"
curl -vLO "$GO_URL" curl -vLO "$GO_URL"
tar -C /usr/local -vxzf "$GO_TARBALL" tar -C /usr/local -vxzf "$GO_TARBALL"