From a333038ea66da1918a0eee69002582c5912dd069 Mon Sep 17 00:00:00 2001 From: madomado Date: Sun, 12 Jan 2025 23:54:14 +0800 Subject: [PATCH] feat(ci): better weekly ci update workflow (#2928) --- .github/workflows/update-weekly.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-weekly.yml b/.github/workflows/update-weekly.yml index c94e47a7e7..8ba8a13ea3 100644 --- a/.github/workflows/update-weekly.yml +++ b/.github/workflows/update-weekly.yml @@ -1,7 +1,7 @@ name: Weekly Update on: schedule: - - cron: "0 0 * * 0" + - cron: "0 0 * * *" workflow_dispatch: jobs: @@ -25,7 +25,7 @@ jobs: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Run Weekly Update - run: anda update --filters weekly=1 + run: anda update --filters weekly=$(date "+%w") env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} RUST_BACKTRACE: full