Skip to content

Commit

Permalink
Merge pull request #477 from bjornoleh/sync_clock
Browse files Browse the repository at this point in the history
Sync the GitHub runner clock with the Windows time server
  • Loading branch information
JohanDegraeve authored Dec 3, 2023
2 parents b37d724 + d8feb78 commit fba5c4e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/add_identifiers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
- name: Install Project Dependencies
run: bundle install

# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
- name: Sync clock
run: sudo sntp -sS time.windows.com

# Create or update identifiers for app
- name: Fastlane Provision
run: bundle exec fastlane identifiers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build_xdrip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,12 @@ jobs:
run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d"

# Install project dependencies
- name: Install project dependencies
- name: Install Project Dependencies
run: bundle install

# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
- name: Sync clock
run: sudo sntp -sS time.windows.com

# Build signed Xdrip4iOS IPA file
- name: Fastlane Build & Archive
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/create_certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
- name: Install Project Dependencies
run: bundle install

# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
- name: Sync clock
run: sudo sntp -sS time.windows.com

# Create or update certificates for app
- name: Create Certificates
run: bundle exec fastlane certs
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/validate_secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ jobs:

- name: Install Project Dependencies
run: bundle install

# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
- name: Sync clock
run: sudo sntp -sS time.windows.com

- name: Validate Fastlane Secrets
run: |
Expand Down

0 comments on commit fba5c4e

Please sign in to comment.