diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index cd2356c..2cf879d 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -44,7 +44,7 @@ jobs: if [ ! -x "$GOROOT/bin/go" ]; then 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 | tr -d '\n\r') echo "Latest version is $GO_VERSION" mkdir -p /data/go