Skip to content

Commit

Permalink
try to fix github build action
Browse files Browse the repository at this point in the history
  • Loading branch information
hgy59 committed Feb 11, 2023
1 parent 808dc7a commit 3241f18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cross/syncthing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ GO_BIN_DIR = $(GO_SRC_DIR)/$(PKG_NAME)

include ../../mk/spksrc.cross-go.mk

BUILD_ARGS = -goos=$(GOOS) -goarch=$(GO_ARCH) -version=v$(PKG_VERS)
BUILD_ARGS = -goos=$(GOOS) -goarch=$(GO_ARCH) -version=v$(PKG_VERS)
# avoid error in github build action:
# fatal: detected dubious ownership in repository at '/github/workspace'
BUILD_ARGS += -buildvcs=false

# use custom build to remove GOARCH from ENV and for custom BUILD_ARGS
syncthing_compile:
Expand Down

0 comments on commit 3241f18

Please sign in to comment.