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: |