Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 2, 2024
1 parent e2978a3 commit 4f13e8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/issue-bot.yml
Expand Up @@ -112,7 +112,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: results-${{ matrix.phpVersion }}
name: results-${{ matrix.phpVersion }}-${{ matrix.chunkNumber }}
path: issue-bot/tmp/results-${{ matrix.phpVersion }}-*.tmp

evaluate:
Expand Down
3 changes: 3 additions & 0 deletions issue-bot/src/Console/DownloadCommand.php
Expand Up @@ -127,11 +127,14 @@ protected function execute(InputInterface $input, OutputInterface $output): int
throw new Exception('Chunk size less than 1');
}
$chunks = array_chunk($phpVersionHashes, $chunkSize);
$i = 1;
foreach ($chunks as $chunk) {
$matrix[] = [
'phpVersion' => $phpVersion,
'chunkNumber' => $i,
'playgroundExamples' => implode(',', $chunk),
];
$i++;
}
}

Expand Down

0 comments on commit 4f13e8e

Please sign in to comment.