From a0a1e1d1c2293d1bb7f47b7635678546d7d60c5d Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 1 Aug 2024 14:54:28 +0200 Subject: [PATCH] chore(ci): be consistent and centralize building logic (#468) Signed-off-by: mudler --- .github/workflows/build.yaml | 3 ++- .github/workflows/release.yaml | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e439c2a3..6cdbcf16 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -15,4 +15,5 @@ jobs: go-version: '1.21' - name: Build Binary - run: go build -v -o masa-node ./cmd/masa-node + run: | + make build diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 221129ea..59c539d1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -40,8 +40,7 @@ jobs: - name: Build Binary run: | - echo "Building with version: ${{ env.VERSION }}" - go build -v -ldflags "-X github.com/masa-finance/masa-oracle/pkg/config.Version=${{ env.VERSION }}" -o masa-node ./cmd/masa-node + make build - id: auth uses: google-github-actions/auth@v2