diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 283a6432..d1fde70f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -149,6 +149,7 @@ jobs: GOOS: darwin GOARCH: amd64 run: | + sudo sntp -sS time.windows.com ZIP_OUTPUT=release/hostd_${GOOS}_${GOARCH}.zip mkdir -p release go build -tags='netgo' -trimpath -o bin/ -a -ldflags '-s -w' ./cmd/hostd diff --git a/.github/workflows/publish_migrate.yml b/.github/workflows/publish_migrate.yml index b12e7993..e9e7abbc 100644 --- a/.github/workflows/publish_migrate.yml +++ b/.github/workflows/publish_migrate.yml @@ -136,6 +136,7 @@ jobs: GOOS: darwin GOARCH: arm64 run: | + sudo sntp -sS time.windows.com ZIP_OUTPUT=release/migrate_${GOOS}_${GOARCH}.zip mkdir -p release go build -tags='netgo' -trimpath -o bin/ -a -ldflags '-s -w' ./cmd/migrate diff --git a/.github/workflows/publish_testnet.yml b/.github/workflows/publish_testnet.yml index 9480e44f..a107d7fb 100644 --- a/.github/workflows/publish_testnet.yml +++ b/.github/workflows/publish_testnet.yml @@ -171,6 +171,7 @@ jobs: GOOS: darwin GOARCH: arm64 run: | + sudo sntp -sS time.windows.com ZIP_OUTPUT=release/hostd_zen_${GOOS}_${GOARCH}.zip mkdir -p release go build -tags='testnet netgo' -trimpath -o bin/ -a -ldflags '-s -w' ./cmd/hostd