Skip to content

Commit 1fb30de

Browse files
committed
Set timezone in workflow.
1 parent 33f9633 commit 1fb30de

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/gradle-build-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2929
settings-path: ${{ github.workspace }} # location for the settings.xml file
3030

31+
- name: Set timezone to specific region
32+
run: echo "TZ=America/New_York" >> $GITHUB_ENV
33+
3134
- name: Setup Gradle
3235
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
3336

.github/workflows/gradle-manual.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2929
settings-path: ${{ github.workspace }} # location for the settings.xml file
3030

31+
- name: Set timezone to specific region
32+
run: echo "TZ=America/New_York" >> $GITHUB_ENV
33+
3134
- name: Setup Gradle
3235
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
3336

0 commit comments

Comments
 (0)