Skip to content

Commit

Permalink
ci: sync clock on mac to fix time drift in publish builds actions/run…
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Dec 12, 2023
1 parent 50c4cf5 commit 14862eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish_migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish_testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 14862eb

Please sign in to comment.