Add -type -f to the -find delete call as part of test collect reports (#24711)

This commit is contained in:
Violet Hynes
2024-01-08 13:17:35 -05:00
committed by GitHub
parent 3931207244
commit 09427955b2

View File

@@ -510,7 +510,7 @@ jobs:
- run: |
rm -rf test-results/go-test/logs
ls -lhR test-results/go-test
find test-results/go-test -mindepth 1 -mtime +3 -delete
find test-results/go-test -mindepth 1 -type f -mtime +3 -delete
# Prune invalid timing files
find test-results/go-test -mindepth 1 -type f -name "*.json" -exec sh -c '