Skip to content

Commit

Permalink
Remove echo from deletion for "live"
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-forbes-cp committed Nov 27, 2024
1 parent d85dce6 commit 6063c58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cache_clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ jobs:
DELETE_LIST=$(for CACHE_PREFIX in $CACHE_PREFIX_LIST ; do grep -E -o "^${CACHE_PREFIX}[^[:space:]]+" CACHE_LIST | sed '1d' ; done)
echo DELETIONS ...
# Delete caches via keys in DELETE_LIST if not dryrun
# TODO remove non-dryrun echo for live use
for KEY in $DELETE_LIST ; do [ "${{ inputs.dryrun }}" = "true" ] && echo \[DRY RUN\] DELETING $KEY || echo gh actions-cache delete $GH_DELETE_ARGS $KEY ; done
for KEY in $DELETE_LIST ; do [ "${{ inputs.dryrun }}" = "true" ] && echo \[DRY RUN\] DELETING $KEY || gh actions-cache delete $GH_DELETE_ARGS $KEY ; done
# Generate post-clean list
echo CACHE LIST AFTER ...
gh actions-cache list $GH_LIST_ARGS

0 comments on commit 6063c58

Please sign in to comment.