更新WakaReadme工作流,添加预检查步骤并修改时区为Asia/Chongqing

This commit is contained in:
远野千束 2024-11-10 01:36:55 +08:00
parent 3f099a683c
commit 532bf8d633
2 changed files with 6 additions and 2 deletions

View File

@ -15,6 +15,10 @@ jobs:
name: WakaReadme DevMetrics name: WakaReadme DevMetrics
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Pre checks
run: |
ls -al
- name: Checkout Repository - name: Checkout Repository
uses: anmol098/waka-readme-stats@master uses: anmol098/waka-readme-stats@master
with: with:
@ -25,7 +29,7 @@ jobs:
run: | run: |
# 修改Readme中的Asia/Hong_Kong为Asia/Chongqing # 修改Readme中的Asia/Hong_Kong为Asia/Chongqing
sed -i 's/Asia\/Hong_Kong/Asia\/Chongqing/g' README.md sed -i 's/Asia\/Hong_Kong/Asia\/Chongqing/g' README.md
ls -al
# 配置令牌 # 配置令牌
git config --global user.email "snowykami@outlook.com" git config --global user.email "snowykami@outlook.com"
git config --global user.name "snowykami" git config --global user.name "snowykami"

View File

@ -78,7 +78,7 @@ Sunday 602 commits █████░░░░░░
📊 **This Week I Spent My Time On** 📊 **This Week I Spent My Time On**
```text ```text
🕑︎ Time Zone: Asia/Hong_Kong 🕑︎ Time Zone: Asia/Chongqing
💬 Programming Languages: 💬 Programming Languages:
CSS 17 hrs 6 mins ██████████████░░░░░░░░░░░ 55.25 % CSS 17 hrs 6 mins ██████████████░░░░░░░░░░░ 55.25 %