feat(ci): better weekly ci update workflow (#2928)

This commit is contained in:
madomado
2025-01-12 23:54:14 +08:00
committed by GitHub
parent e1b301c1c3
commit a333038ea6
+2 -2
View File
@@ -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