Skip to content

Commit

Permalink
Update update-checker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
00575 authored Nov 4, 2021
1 parent 00bcc23 commit 7205fa8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Update Checker
env:
REPO_URL: https://github.com/a0575/padavan
REPO_BRANCH: master
TZ: Asia/Shanghai

on:
workflow_dispatch:
Expand All @@ -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: |
Expand Down

0 comments on commit 7205fa8

Please sign in to comment.