windows: Add update-workspace-hack.ps1 script (#28219)

Release Notes:

- N/A
This commit is contained in:
张小白 2025-04-07 21:26:26 +08:00 committed by GitHub
parent 656302ee4c
commit d60dbbc791
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 38 additions and 2 deletions

View file

@ -131,13 +131,13 @@ jobs:
- name: Check workspace-hack Cargo.toml is up-to-date
run: |
cargo hakari generate --diff || {
echo "To fix, run script/update-workspace-hack";
echo "To fix, run script/update-workspace-hack or script/update-workspace-hack.ps1";
false
}
- name: Check all crates depend on workspace-hack
run: |
cargo hakari manage-deps --dry-run || {
echo "To fix, run script/update-workspace-hack"
echo "To fix, run script/update-workspace-hack or script/update-workspace-hack.ps1"
false
}