second fix wrong go version
Some checks failed
Build Process Supervisor / build (amd64, .exe, windows) (push) Failing after 6m39s
Build Process Supervisor / build (amd64, , linux) (push) Failing after 6m52s
Build Process Supervisor / build (arm, 6, , linux) (push) Failing after 6m42s
Build Process Supervisor / build (arm64, , linux) (push) Failing after 6m33s
Some checks failed
Build Process Supervisor / build (amd64, .exe, windows) (push) Failing after 6m39s
Build Process Supervisor / build (amd64, , linux) (push) Failing after 6m52s
Build Process Supervisor / build (arm, 6, , linux) (push) Failing after 6m42s
Build Process Supervisor / build (arm64, , linux) (push) Failing after 6m33s
This commit is contained in:
@@ -44,7 +44,7 @@ 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 | tr -d '\n\r')
|
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