diff --git a/.github/actions/akamai-purge-osx/action.yml b/.github/actions/akamai-purge-osx/action.yml index fba2930e0..6c6df039e 100644 --- a/.github/actions/akamai-purge-osx/action.yml +++ b/.github/actions/akamai-purge-osx/action.yml @@ -31,13 +31,12 @@ runs: for idx in $indices do end=${idx%:*} - echo "Index: $end" new_length=$((end-start)) if [ $new_length -ge $MAX ]; then echo "Batch from ${offset} of length ${length}" batch=${urls:$offset:$length} echo $batch - start=$((offset + length)) + offset=$((offset + length)) length=$((end - start)) else length=$new_length