From a4e687f9e40672cb94aefd471f1cf58c81cec524 Mon Sep 17 00:00:00 2001 From: Excavator Bot <33266368+svc-excavator-bot@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:52:54 -0800 Subject: [PATCH] Excavator: Manages GitHub action that publishes artifacts to GitHub using godel (#258) --- .github/actions/go-dist-info/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/go-dist-info/action.yml b/.github/actions/go-dist-info/action.yml index 710d3a68..57c63531 100644 --- a/.github/actions/go-dist-info/action.yml +++ b/.github/actions/go-dist-info/action.yml @@ -52,7 +52,7 @@ runs: GO_VERSION=$(cat "${PARAM_GO_VERSION_FILE}") echo "Go version specified in ${PARAM_GO_VERSION_FILE} is ${GO_VERSION}" elif [ -f "${FALLBACK_GO_VERSION_FILE}" ]; then - GO_VERSION=$(cat "${FALLBACK_GO_VERSION_FILE}") + read -r GO_VERSION < "${FALLBACK_GO_VERSION_FILE}" echo "Go version specified in ${FALLBACK_GO_VERSION_FILE} is ${GO_VERSION}" else echo "Error: Go version was not specified as a parameter and neither ${PARAM_GO_VERSION_FILE} nor ${FALLBACK_GO_VERSION_FILE} exist"