From 080b9f5241a825cc17d2cad097a01a3dd7402647 Mon Sep 17 00:00:00 2001 From: lqS0317 <102649974+lqS0317@users.noreply.github.com> Date: Thu, 9 May 2024 13:30:57 +0800 Subject: [PATCH] update_workflow_job (#84) * update_workflow_job --------- Co-authored-by: lqS0317 --- .github/workflows/update_readme.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update_readme.yml b/.github/workflows/update_readme.yml index efd5961..786c72b 100644 --- a/.github/workflows/update_readme.yml +++ b/.github/workflows/update_readme.yml @@ -1,7 +1,7 @@ name: update readme on: schedule: - - cron: '0 5 * * *' + - cron: '0 12 */7 * *' run-name: update readme jobs: update-readme: @@ -14,6 +14,7 @@ jobs: ref: main - name: Update README run: | + echo $(date) date=$(date +%Y%m%d) current_time=$(grep -Eo '[0-9]{8}' run-node-mainnetv2.md |head -n1) sed -i "s/${current_time}/$date/g" run-node-mainnetv2.md