Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2537d5f1c8 | ||
![]() |
79ad631494 |
@@ -43,8 +43,8 @@ jobs:
|
|||||||
|
|
||||||
if [ ! -x "$GOROOT/bin/go" ]; then
|
if [ ! -x "$GOROOT/bin/go" ]; then
|
||||||
echo "Go not found in $GOROOT, downloading latest stable..."
|
echo "Go not found in $GOROOT, downloading latest stable..."
|
||||||
|
|
||||||
GO_VERSION=$(curl -s https://go.dev/VERSION?m=text)
|
GO_VERSION=$(curl -s https://go.dev/VERSION?m=text | head -n1)
|
||||||
echo "Latest version is $GO_VERSION"
|
echo "Latest version is $GO_VERSION"
|
||||||
|
|
||||||
mkdir -p /data/go
|
mkdir -p /data/go
|
||||||
|
Reference in New Issue
Block a user