diff --git a/.github/workflows/issue-bot.yml b/.github/workflows/issue-bot.yml index 32240134a8..f7e9db64a5 100644 --- a/.github/workflows/issue-bot.yml +++ b/.github/workflows/issue-bot.yml @@ -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: diff --git a/issue-bot/src/Console/DownloadCommand.php b/issue-bot/src/Console/DownloadCommand.php index 93eb913b01..511ec78d07 100644 --- a/issue-bot/src/Console/DownloadCommand.php +++ b/issue-bot/src/Console/DownloadCommand.php @@ -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++; } }