fix: build
This commit is contained in:
parent
22c687c044
commit
9d6682fd58
3
.github/workflows/test-on-pr.yml
vendored
3
.github/workflows/test-on-pr.yml
vendored
@ -36,4 +36,7 @@ jobs:
|
|||||||
tags: timetzdata
|
tags: timetzdata
|
||||||
ldflags: -s -w --extldflags '-static -fpic' -X github.com/naiba/nezha/service/singleton.Version=test
|
ldflags: -s -w --extldflags '-static -fpic' -X github.com/naiba/nezha/service/singleton.Version=test
|
||||||
buildmode: default
|
buildmode: default
|
||||||
|
- name: fix dist
|
||||||
|
run: |
|
||||||
|
mv dist/dashboard-linux-arm-7 dist/dashboard-linux-arm
|
||||||
|
|
||||||
|
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -43,3 +43,6 @@ jobs:
|
|||||||
tags: timetzdata
|
tags: timetzdata
|
||||||
ldflags: -s -w --extldflags '-static -fpic' -X github.com/naiba/nezha/service/singleton.Version=test
|
ldflags: -s -w --extldflags '-static -fpic' -X github.com/naiba/nezha/service/singleton.Version=test
|
||||||
buildmode: default
|
buildmode: default
|
||||||
|
- name: fix dist
|
||||||
|
run: |
|
||||||
|
mv dist/dashboard-linux-arm-7 dist/dashboard-linux-arm
|
||||||
|
2
go.mod
2
go.mod
@ -2,8 +2,6 @@ module github.com/naiba/nezha
|
|||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|
||||||
toolchain go1.22.3
|
|
||||||
|
|
||||||
require (
|
require (
|
||||||
code.cloudfoundry.org/bytefmt v0.0.0-20240425163905-bcdc1ad063ea
|
code.cloudfoundry.org/bytefmt v0.0.0-20240425163905-bcdc1ad063ea
|
||||||
code.gitea.io/sdk/gitea v0.18.0
|
code.gitea.io/sdk/gitea v0.18.0
|
||||||
|
Loading…
Reference in New Issue
Block a user