Skip to content

Commit

Permalink
adjust jq
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garriss committed Feb 26, 2025
1 parent ae861ef commit 251cc2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test_caching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
now=$(date)
echo "The current date is"
echo $now
gh cache list --sort created_at --limit 100 --json createdAt -q (.createdAt < $now)
gh cache list --sort created_at --limit 100 --json createdAt -q .[] | select(.createdAt < $now)
# gh actions-cache list --limit 100 | tail -n +5 | awk '{print $1}' | tr '\n' '\0' | xargs -0 -n1 gh actions-cache delete --confirm
# - name: Purge Caches
# # https://github.com/MyAlbum/purge-cache
Expand Down

0 comments on commit 251cc2f

Please sign in to comment.