From 5f072d78d3c11159559a64d11a4031e66a60adf3 Mon Sep 17 00:00:00 2001 From: Oksana Grishchenko Date: Mon, 18 Mar 2024 17:51:38 +0200 Subject: [PATCH] everest checkout --- .github/workflows/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d80ee07bf..a938c4765 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -268,6 +268,11 @@ jobs: with: token: ${{ secrets.ROBOT_TOKEN }} + - name: Everest - setup golang + uses: actions/setup-go@v5 + with: + go-version-file: './go.mod' + - name: Everest - create and update release branch run: | # Check if the branch already exists @@ -290,8 +295,8 @@ jobs: fi # Update the operator go module to reference the version tag - # go get github.com/percona/everest-operator@$GH_TAG - # go mod tidy + go get github.com/percona/everest-operator@$GH_TAG + go mod tidy # Change version in Makefile sed -i "s/RELEASE_VERSION ?=.*/RELEASE_VERSION ?= v$VERSION/g" Makefile @@ -336,11 +341,6 @@ jobs: pnpm install EVEREST_OUT_DIR=${GITHUB_WORKSPACE}/public/dist/ pnpm build - - name: Everest - setup golang - uses: actions/setup-go@v5 - with: - go-version-file: './go.mod' - - name: Everest - build binary run: | CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make build