chore(release): update curl installation in Rocky 9 image
This commit is contained in:
@@ -260,7 +260,8 @@ jobs:
|
|||||||
-w /workspace \
|
-w /workspace \
|
||||||
rockylinux:9 \
|
rockylinux:9 \
|
||||||
bash -c "
|
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}') &&
|
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 &&
|
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 &&
|
export PATH=\$PATH:/usr/local/go/bin &&
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
unitdore
|
unitdore
|
||||||
*.exe
|
*.exe
|
||||||
|
.codex
|
||||||
|
|||||||
Reference in New Issue
Block a user