Skip to content

Commit

Permalink
Fixing make build
Browse files Browse the repository at this point in the history
  • Loading branch information
arhamchordia committed Feb 13, 2023
1 parent 55ff989 commit 6d17351
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Display go version
run: go version
- name: Build quasarnoded
run: go build -o build/quasarnoded ./cmd/quasarnoded
run: make build
- uses: actions/upload-artifact@v2
with:
name: quasarnoded-${{ matrix.targetos }}-${{ matrix.arch }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ BUILD_TARGETS := build install
build: BUILD_ARGS=-o $(BUILDDIR)/

$(BUILD_TARGETS): go.sum $(BUILDDIR)/
GOWORK=off go $@ -mod=readonly $(BUILD_FLAGS) $(BUILD_ARGS) ./cmd/quasarnoded
go $@ -mod=readonly $(BUILD_FLAGS) $(BUILD_ARGS) ./cmd/quasarnoded

$(BUILDDIR)/:
mkdir -p $(BUILDDIR)/
Expand Down

0 comments on commit 6d17351

Please sign in to comment.