From 7205fa89cdf439a5c54272732871070a0d6eb146 Mon Sep 17 00:00:00 2001 From: 00575 <75769819+00575@users.noreply.github.com> Date: Thu, 4 Nov 2021 10:45:15 +0800 Subject: [PATCH] Update update-checker.yml --- .github/workflows/update-checker.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/update-checker.yml b/.github/workflows/update-checker.yml index 4bf741897..1f3965e74 100644 --- a/.github/workflows/update-checker.yml +++ b/.github/workflows/update-checker.yml @@ -3,6 +3,7 @@ name: Update Checker env: REPO_URL: https://github.com/a0575/padavan REPO_BRANCH: master + TZ: Asia/Shanghai on: workflow_dispatch: @@ -15,6 +16,12 @@ jobs: steps: + - name: 设置日期 + run: | + sudo timedatectl set-timezone "$TZ" + #echo "date=$(date +'%m/%d_%Y_%H/%M')" >> $GITHUB_ENV + echo "date=$(date +'%Y.%m.%d')" >> $GITHUB_ENV + - name: Get Commit Hash id: getHash run: |