ci: using time/tzdata package to provide zoneinfo (#365)

This commit is contained in:
UUBulb 2024-06-14 10:24:58 +08:00 committed by GitHub
parent f30969e946
commit a9da084711
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,7 @@ jobs:
v: true
x: false
race: false
tags: timetzdata
ldflags: -s -w --extldflags '-static -fpic' -X github.com/naiba/nezha/service/singleton.Version=${{ steps.extract_branch.outputs.tag }}
buildmode: default

View File

@ -33,6 +33,7 @@ jobs:
v: true
x: false
race: false
tags: timetzdata
ldflags: -s -w --extldflags '-static -fpic' -X github.com/naiba/nezha/service/singleton.Version=test
buildmode: default

View File

@ -40,5 +40,6 @@ jobs:
v: true
x: false
race: false
tags: timetzdata
ldflags: -s -w --extldflags '-static -fpic' -X github.com/naiba/nezha/service/singleton.Version=test
buildmode: default

View File

@ -182,7 +182,7 @@ before_show_menu() {
install_base() {
(command -v git >/dev/null 2>&1 && command -v curl >/dev/null 2>&1 && command -v wget >/dev/null 2>&1 && command -v unzip >/dev/null 2>&1 && command -v getenforce >/dev/null 2>&1) ||
(install_soft curl wget git unzip tzdata)
(install_soft curl wget git unzip)
}
install_arch() {