From 1d9333f8bb7966148704357c2990db697176fec6 Mon Sep 17 00:00:00 2001 From: Marcin Maciaszczyk Date: Wed, 20 Nov 2024 15:25:52 +0100 Subject: [PATCH] retry adding plural to path --- .github/workflows/e2e.yaml | 2 +- Makefile | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 05f40d06..720cf264 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -27,6 +27,6 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v3 - name: Setup Plural CLI - run: go build -ldflags '$(LDFLAGS)' -o $(GOBIN)/plural ./cmd/plural + run: make install-cli - name: Print Plural CLI version run: plural version diff --git a/Makefile b/Makefile index 54888660..53761fa2 100644 --- a/Makefile +++ b/Makefile @@ -41,8 +41,14 @@ git-push: git push .PHONY: install -install: +install: install-cli install-ctl + +.PHONY: install-cli +install-cli: go build -ldflags '$(LDFLAGS)' -o $(GOBIN)/plural ./cmd/plural + +.PHONY: install-ctl +install-ctl: go build -ldflags '$(LDFLAGS)' -o $(GOBIN)/plrlctl ./cmd/plrlctl .PHONY: build-cli