From bb4bc8537cd100e13d74e03ab1ce8692da1527aa Mon Sep 17 00:00:00 2001 From: daflyinbed <1677759063@qq.com> Date: Sat, 27 Apr 2024 13:43:30 +0000 Subject: [PATCH] fix: timezone --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af4e6c7e2aefe..cf92db258c766 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: tar --exclude-from=./mw/.github/workflows/exclude -czvf dist.tgz mw - name: Get current time id: date - run: echo "now=$(date +'%Y-%m-%d-%H-%M-%S')" >> $GITHUB_OUTPUT + run: echo "now=$(TZ='Asia/Shanghai' date +'%Y-%m-%d-%H-%M-%S')" >> $GITHUB_OUTPUT - name: Create release uses: softprops/action-gh-release@v2 env: