Skip to content

Commit 9e46faa

Browse files
authored
ci: fix nightly release timezone (#189)
Signed-off-by: usamoi <usamoi@outlook.com>
1 parent db15976 commit 9e46faa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
- run: |
1919
commit_date=$(git log -1 --since="24 hours ago" --pretty=format:"%cI")
2020
if [[ -n "$commit_date" ]]; then
21-
TZ='Asia/Shanghai' gh workflow run release.yml \
22-
-f version=$(date +"0.0.0-nightly.%Y%m%d") \
21+
gh workflow run release.yml \
22+
-f version=$(TZ='Asia/Shanghai' date +"0.0.0-nightly.%Y%m%d") \
2323
-f prerelease=true
2424
fi
2525
env:

0 commit comments

Comments
 (0)