Skip to content

Commit

Permalink
CI actions use local time zone
Browse files Browse the repository at this point in the history
  • Loading branch information
beef9999 committed Sep 10, 2023
1 parent 93575d6 commit 43663d0
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.linux.arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
options: --cpus 4

steps:
- uses: szenius/set-timezone@v1.2
with:
timezoneLinux: "Asia/Shanghai"
timezoneMacos: "Asia/Shanghai"
timezoneWindows: "China Standard Time"

- uses: actions/checkout@v3

- name: Install Dependencies
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/ci.linux.x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
options: --cpus 4

steps:
- uses: szenius/set-timezone@v1.2
with:
timezoneLinux: "Asia/Shanghai"
timezoneMacos: "Asia/Shanghai"
timezoneWindows: "China Standard Time"

- uses: actions/checkout@v3

- name: Install Dependencies
Expand Down Expand Up @@ -50,6 +56,12 @@ jobs:
options: --cpus 4

steps:
- uses: szenius/set-timezone@v1.2
with:
timezoneLinux: "Asia/Shanghai"
timezoneMacos: "Asia/Shanghai"
timezoneWindows: "China Standard Time"

- uses: actions/checkout@v3

- name: Install Dependencies
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ci.macos.arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ jobs:
runs-on: [self-hosted, macOS, ARM64]

steps:
- uses: szenius/set-timezone@v1.2
with:
timezoneLinux: "Asia/Shanghai"
timezoneMacos: "Asia/Shanghai"
timezoneWindows: "China Standard Time"

- uses: actions/checkout@v3

- name: Install Dependencies
shell: bash
run: |
brew install cmake openssl gflags googletest gsasl
brew install cmake openssl gflags googletest gsasl
- name: Build
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ci.macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ jobs:
runs-on: macos-12

steps:
- uses: szenius/set-timezone@v1.2
with:
timezoneLinux: "Asia/Shanghai"
timezoneMacos: "Asia/Shanghai"
timezoneWindows: "China Standard Time"

- uses: actions/checkout@v3

- name: Install Dependencies
shell: bash
run: |
Expand Down

0 comments on commit 43663d0

Please sign in to comment.