Skip to content

Commit c75284f

Browse files
authored
Merge pull request #245 from bjornoleh/sync_clock
Sync the GitHub runner clock with the Windows time server
2 parents 8e599e5 + 7ca12a2 commit c75284f

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

.github/workflows/add_identifiers.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
# Patch Fastlane Match to not print tables
2525
- name: Patch Match Tables
2626
run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d"
27+
28+
# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
29+
- name: Sync clock
30+
run: sudo sntp -sS time.windows.com
2731

2832
# Create or update identifiers for app
2933
- name: Fastlane Provision

.github/workflows/build_LoopFollow.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ jobs:
3535
# Patch Fastlane Match to not print tables
3636
- name: Patch Match Tables
3737
run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d"
38+
39+
# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
40+
- name: Sync clock
41+
run: sudo sntp -sS time.windows.com
3842

3943
# Build signed Loop Follow IPA file
4044
- name: Fastlane Build & Archive

.github/workflows/create_certs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
# Patch Fastlane Match to not print tables
2626
- name: Patch Match Tables
2727
run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d"
28+
29+
# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
30+
- name: Sync clock
31+
run: sudo sntp -sS time.windows.com
2832

2933
# Create or update certificates for app
3034
- name: Create Certificates

.github/workflows/validate_secrets.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ jobs:
124124
steps:
125125
- name: Checkout Repo
126126
uses: actions/checkout@v3
127+
128+
# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
129+
- name: Sync clock
130+
run: sudo sntp -sS time.windows.com
127131

128132
- name: Validate Fastlane Secrets
129133
run: |

0 commit comments

Comments
 (0)