Skip to content

Commit

Permalink
add now
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garriss committed Feb 26, 2025
1 parent c6f97b1 commit 721bc9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test_caching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
gh cache list --sort created_at --limit 100 --json createdAt
now=$(date)
echo "The current date is"
echo $now
gh cache list --sort created_at --limit 100 --json createdAt -q 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 721bc9e

Please sign in to comment.