Fallback to delete-package-versions v4 to use node16 (#2367)
Summary:
actions/clean-package-version v5 requires node20 which pytorch infra is not ready yet.
fallback to v4 to use node 16.
Pull Request resolved: https://github.com/pytorch/benchmark/pull/2367
Test Plan:
https://github.com/pytorch/benchmark/actions/runs/9811750556
We have only the most recent 200 images after running the workflow:
https://github.com/pytorch/benchmark/pkgs/container/torchbench
Reviewed By: aaronenyeshi
Differential Revision: D59401820
Pulled By: xuzhao9
fbshipit-source-id: 6498d3bb71dade5107bf019420ab492f1e327061