File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,7 @@ envtest:
242
242
OPERATOR_SDK = $(shell pwd) /bin/operator-sdk
243
243
.PHONY : operator-sdk
244
244
operator-sdk :
245
- # FIXME: Remove `go mod tidy && go mod vendor` once we find the reason why ci workflow fails.
246
- cd ./tools && go mod tidy && go mod vendor && go build -o $(OPERATOR_SDK) ./vendor/$(shell grep operator-sdk tools/tools.go | sed 's/.*_ "//;s/"//')
245
+ cd ./tools && go build -o $(OPERATOR_SDK ) ./vendor/$(shell grep operator-sdk tools/tools.go | sed 's/.* _ "//;s/"//')
247
246
248
247
# protoc-gen-go gets installed from the vendor/ directory.
249
248
PROTOC_GEN_GO = $(shell pwd) /bin/protoc-gen-go
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ limitations under the License.
22
22
// other dependencies. It also makes things easier to install the tools in
23
23
// environments that have slow networking or are completely disconnected.
24
24
25
- package main
25
+ package tools
26
26
27
27
import (
28
28
_ "github.com/operator-framework/operator-sdk/cmd/operator-sdk"
You can’t perform that action at this time.
0 commit comments