Skip to content

Commit

Permalink
adjust makefile path
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarak Ben Youssef committed Feb 6, 2024
1 parent 219fef3 commit 59fe8d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
COMMIT: ${{ github.sha }}
with:
pre_command: make generate && make install-cross-build-tools
build_command: make -C ../.. build
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "1.20"
project_path: "./cmd/flow"
project_path: ./cmd/flow
build_command: make --directory=./../.. build
ldflags: -X "github.com/onflow/flow-cli/build.commit=${{ env.COMMIT }}" -X "github.com/onflow/flow-cli/build.semver=${{ env.VERSION }}" -X "github.com/onflow/flow-cli/internal/command.mixpanelToken=${{ env.MIXPANEL_PROJECT_TOKEN }}" -X "github.com/onflow/flow-cli/internal/accounts.accountToken=${{ env.LILICO_TOKEN }}"
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,5 @@ build:
CGO_FLAGS="-O2 -D__BLST_PORTABLE__" \
CC=$(C_COMP) \
GOARCH=$(INPUT_GOARCH) \
go build
go build -C ./cmd/flow

0 comments on commit 59fe8d0

Please sign in to comment.