Skip to content

Commit

Permalink
fixed if
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov committed Sep 14, 2023
1 parent 3b403a3 commit 23fced0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cleanup_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ jobs:
echo "${cacheKeysForPRSliced[@]}"
## Setting this to not fail the workflow while deleting cache keys.
set +e
if "${#ArrayName[@]}" -gt "0"; then
if [[ ${#ArrayName[@]} -gt 0 ]]
then
echo "Deleting caches..."
for cacheKey in ${cacheKeysForPRSliced[@]}
do
Expand Down

0 comments on commit 23fced0

Please sign in to comment.