Skip to content

Commit

Permalink
ci: resync system clock actions/runner#2996
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Dec 12, 2023
1 parent 16c2476 commit f1a0eab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ jobs:
# generate
go generate ./...
# resync system clock https://github.com/actions/runner/issues/2996#issuecomment-1833103110
sudo sntp -sS time.windows.com
- name: Build amd64
env:
APPLE_CERT_ID: ${{ secrets.APPLE_CERT_ID }}
Expand All @@ -149,7 +152,6 @@ 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
4 changes: 3 additions & 1 deletion .github/workflows/publish_migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ jobs:
# generate
go generate ./...
# resync system clock https://github.com/actions/runner/issues/2996#issuecomment-1833103110
sudo sntp -sS time.windows.com
- name: Build amd64
env:
APPLE_CERT_ID: ${{ secrets.APPLE_CERT_ID }}
Expand Down Expand Up @@ -136,7 +139,6 @@ 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
4 changes: 3 additions & 1 deletion .github/workflows/publish_testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ jobs:
# generate
go generate ./...
# resync system clock https://github.com/actions/runner/issues/2996#issuecomment-1833103110
sudo sntp -sS time.windows.com
- name: Build amd64
env:
APPLE_CERT_ID: ${{ secrets.APPLE_CERT_ID }}
Expand Down Expand Up @@ -171,7 +174,6 @@ 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 f1a0eab

Please sign in to comment.