Skip to content

Commit 15ca7eb

Browse files
authored
GHA: set the timezone to New Zealand.
2 parents 994aec8 + 0fd734c commit 15ca7eb

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

.github/workflows/buildThirdPartyLibrary.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ jobs:
5454
BUILDCACHE_DEBUG: -1
5555
BUILDCACHE_LOG_FILE: ""
5656
steps:
57+
- name: Set the timezone to New Zealand
58+
uses: szenius/set-timezone@v2.0
59+
with:
60+
timezoneWindows: 'New Zealand Standard Time'
61+
timezoneLinux: 'Pacific/Auckland'
62+
timezoneMacos: 'Pacific/Auckland'
5763
- name: Check out libOpenCOR
5864
uses: actions/checkout@v4
5965
- name: Install CMake and Ninja
@@ -108,6 +114,10 @@ jobs:
108114
BUILDCACHE_DEBUG: -1
109115
BUILDCACHE_LOG_FILE: ""
110116
steps:
117+
- name: Set the timezone to New Zealand
118+
uses: szenius/set-timezone@v2.0
119+
with:
120+
timezoneMacos: 'Pacific/Auckland'
111121
- name: Check out libOpenCOR
112122
uses: actions/checkout@v4
113123
- name: Install CMake and Ninja

.github/workflows/cd.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ jobs:
8989
BUILDCACHE_DEBUG: -1
9090
BUILDCACHE_LOG_FILE: ""
9191
steps:
92+
- name: Set the timezone to New Zealand
93+
uses: szenius/set-timezone@v2.0
94+
with:
95+
timezoneWindows: 'New Zealand Standard Time'
96+
timezoneLinux: 'Pacific/Auckland'
97+
timezoneMacos: 'Pacific/Auckland'
9298
- name: Check out libOpenCOR
9399
uses: actions/checkout@v4
94100
- name: Install CMake and Ninja
@@ -148,6 +154,12 @@ jobs:
148154
- name: 'macOS Python wheels (ARM)'
149155
os: macos-14
150156
steps:
157+
- name: Set the timezone to New Zealand
158+
uses: szenius/set-timezone@v2.0
159+
with:
160+
timezoneWindows: 'New Zealand Standard Time'
161+
timezoneLinux: 'Pacific/Auckland'
162+
timezoneMacos: 'Pacific/Auckland'
151163
- name: Check out libOpenCOR
152164
uses: actions/checkout@v4
153165
- name: Configure MSVC
@@ -187,6 +199,10 @@ jobs:
187199
BUILDCACHE_DEBUG: -1
188200
BUILDCACHE_LOG_FILE: ""
189201
steps:
202+
- name: Set the timezone to New Zealand
203+
uses: szenius/set-timezone@v2.0
204+
with:
205+
timezoneMacos: 'Pacific/Auckland'
190206
- name: Check out libOpenCOR
191207
uses: actions/checkout@v4
192208
- name: Install CMake and Ninja

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,12 @@ jobs:
367367
BUILDCACHE_DEBUG: -1
368368
BUILDCACHE_LOG_FILE: ""
369369
steps:
370+
- name: Set the timezone to New Zealand
371+
uses: szenius/set-timezone@v2.0
372+
with:
373+
timezoneWindows: 'New Zealand Standard Time'
374+
timezoneLinux: 'Pacific/Auckland'
375+
timezoneMacos: 'Pacific/Auckland'
370376
- name: Check out libOpenCOR
371377
uses: actions/checkout@v4
372378
- name: Install Python
@@ -533,6 +539,10 @@ jobs:
533539
name: Spell check
534540
runs-on: ubuntu-22.04
535541
steps:
542+
- name: Set the timezone to New Zealand
543+
uses: szenius/set-timezone@v2.0
544+
with:
545+
timezoneLinux: 'Pacific/Auckland'
536546
- name: Check out libOpenCOR
537547
uses: actions/checkout@v4
538548
- name: Spell check

0 commit comments

Comments
 (0)