From d1273f7f5a1e36bd05ac0f91d3c31e5738d4b95d Mon Sep 17 00:00:00 2001 From: Theo Date: Wed, 19 Jun 2024 22:15:33 +0800 Subject: [PATCH] Update test.yaml --- .github/workflows/test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e956c97..77e06e1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,7 +10,7 @@ jobs: uses: actions/checkout@v2 - name: Set DATE environment variable - run: echo "DATE=$(date '+%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV + run: echo "DATE=$(TZ='Asia/Shanghai' date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV # 其他步骤... @@ -30,7 +30,7 @@ jobs: - name: Notify job status if: always() # 确保这一步始终运行,不管之前的步骤是否成功 run: | - curl -X "POST" "https://api.day.app/a8BiVYYGe7sMfKWLBNNcCj" \ + curl -X "POST" "${{ secrets.BARK_KEY }}" \ -H 'Content-Type: application/json; charset=utf-8' \ -d '{ "body": "Github Actions于${{ env.DATE }}运行${{ env.translated_status }}", @@ -38,6 +38,6 @@ jobs: "badge": 1, "category": "Github Actions", "sound": "multiwayinvitation.caf", - "icon": "https://cdn-icons-png.flaticon.com/512/25/25231.png", + "icon": "https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png", "group": "Github Actions" }'