Open akhettar opened 3 years ago
Hello there,
I am trying to release the binaries in my Github project odfe-kibana-sync but it is failing with no obvious reason - see below a snippet from the pipeline log.
I suspect this is due to this dependency: https://github.com/spf13/cobra. Any idea how to proceed?
Kind regards,
Ayache
`Run ngs/go-release.action@v1.0.2 env: GITHUB_TOKEN: *** GOARCH: arm64 GOOS: linux EXTRA_FILES: LICENSE /usr/bin/docker run --name e492553ed176de4ffd900b3a6f454da009_5bcc2e --label 5588e4 --workdir /github/workspace --rm -e GITHUB_TOKEN -e GOARCH -e GOOS -e EXTRA_FILES -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/odfe-kibana-sync/odfe-kibana-sync":"/github/workspace" 5588e4:92553ed176de4ffd900b3a6f454da009
../../spf13/cobra/bash_completions.go:22:24: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:383:26: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:423:24: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:435:27: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:473:25: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:484:20: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:499:38: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:525:21: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:562:28: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:587:29: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:587:29: too many errors github.com/akhettar/odfe-kibana-sync/client `
Hello there,
I am trying to release the binaries in my Github project odfe-kibana-sync but it is failing with no obvious reason - see below a snippet from the pipeline log.
I suspect this is due to this dependency: https://github.com/spf13/cobra. Any idea how to proceed?
Kind regards,
Ayache
`Run ngs/go-release.action@v1.0.2 env: GITHUB_TOKEN: *** GOARCH: arm64 GOOS: linux EXTRA_FILES: LICENSE /usr/bin/docker run --name e492553ed176de4ffd900b3a6f454da009_5bcc2e --label 5588e4 --workdir /github/workspace --rm -e GITHUB_TOKEN -e GOARCH -e GOOS -e EXTRA_FILES -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/odfe-kibana-sync/odfe-kibana-sync":"/github/workspace" 5588e4:92553ed176de4ffd900b3a6f454da009
github.com/spf13/cobra
../../spf13/cobra/bash_completions.go:22:24: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:383:26: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:423:24: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:435:27: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:473:25: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:484:20: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:499:38: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:525:21: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:562:28: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:587:29: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:587:29: too many errors github.com/akhettar/odfe-kibana-sync/client `