chore(release): update curl installation in Rocky 9 image

This commit is contained in:
Hein
2026-04-08 17:35:12 +02:00
parent 77b86dc3fc
commit 9ef31866f1
2 changed files with 3 additions and 1 deletions

View File

@@ -260,7 +260,8 @@ jobs:
-w /workspace \
rockylinux:9 \
bash -c "
dnf install -y rpm-build git curl &&
# Rocky 9 images already ship curl-minimal, which is enough for the Go tarball download.
dnf install -y rpm-build git &&
GO_VER=\$(grep '^go ' /workspace/go.mod | awk '{print \$2}') &&
curl -fsSL https://go.dev/dl/go\${GO_VER}.linux-amd64.tar.gz | tar -C /usr/local -xz &&
export PATH=\$PATH:/usr/local/go/bin &&

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
unitdore
*.exe
.codex