Skip to content

Commit

Permalink
Experiment for splitting package list
Browse files Browse the repository at this point in the history
  • Loading branch information
grantnelson-wf committed Jul 10, 2024
1 parent 384843a commit 6feb928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ jobs:
)
stride=$((${#PACKAGE_NAMES[@]} / $NUMBER_OF_PARTS))
offset=stride*$((i - 1))
if [ $i -lt $NUMBER_OF_PARTS ]; then
offset=stride*$((${{ matrix.part }} - 1))
if [ ${{ matrix.part }} -lt $NUMBER_OF_PARTS ]; then
PACKAGE_NAMES_FOR_PART=${PACKAGE_NAMES[@]:offset:stride}
else
PACKAGE_NAMES_FOR_PART=${PACKAGE_NAMES[@]:offset}
Expand Down

0 comments on commit 6feb928

Please sign in to comment.