fix: build

This commit is contained in:
naiba 2024-07-13 13:00:48 +08:00
parent 22c687c044
commit 9d6682fd58
3 changed files with 6 additions and 2 deletions

View File

@ -36,4 +36,7 @@ jobs:
tags: timetzdata
ldflags: -s -w --extldflags '-static -fpic' -X github.com/naiba/nezha/service/singleton.Version=test
buildmode: default
- name: fix dist
run: |
mv dist/dashboard-linux-arm-7 dist/dashboard-linux-arm

View File

@ -43,3 +43,6 @@ jobs:
tags: timetzdata
ldflags: -s -w --extldflags '-static -fpic' -X github.com/naiba/nezha/service/singleton.Version=test
buildmode: default
- name: fix dist
run: |
mv dist/dashboard-linux-arm-7 dist/dashboard-linux-arm

2
go.mod
View File

@ -2,8 +2,6 @@ module github.com/naiba/nezha
go 1.21
toolchain go1.22.3
require (
code.cloudfoundry.org/bytefmt v0.0.0-20240425163905-bcdc1ad063ea
code.gitea.io/sdk/gitea v0.18.0