File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ tmp_dir = "tmp"
77
88[build ]
99# Just plain old shell command. You could use `make` as well.
10- cmd = " CGO_ENABLED=1 go build -ldflags=\" -X 'github.com/0xJacky/Nginx-UI/server/settings.buildTime=$(date +%s)'\" -o ./tmp/main ."
10+ cmd = " CGO_ENABLED=1 go build -tags=jsoniter - ldflags=\" -X 'github.com/0xJacky/Nginx-UI/server/settings.buildTime=$(date +%s)'\" -o ./tmp/main ."
1111# Binary file yields from `cmd`.
1212bin = " tmp/main"
1313# Customize binary.
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ jobs:
173173 - name : Build
174174 run : |
175175 mkdir -p dist
176- go build -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/server/settings.buildTime=$(date +%s)'" -o dist/nginx-ui -v main.go
176+ go build -tags=jsoniter - ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/server/settings.buildTime=$(date +%s)'" -o dist/nginx-ui -v main.go
177177
178178 - name : Archive backend artifacts
179179 uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments