|
59 | 59 | - name: "Dump autoloader one more time for attributes" |
60 | 60 | run: "composer dump" |
61 | 61 |
|
| 62 | + - name: "Install Box dependencies" |
| 63 | + working-directory: "compiler/box" |
| 64 | + run: "composer install" |
| 65 | + |
62 | 66 | - name: "Compile PHAR" |
63 | 67 | working-directory: "compiler/build" |
64 | | - run: "php box.phar compile --no-parallel" |
| 68 | + run: "php ../box/vendor/bin/box compile --no-parallel" |
65 | 69 |
|
66 | 70 | - uses: actions/upload-artifact@v4 |
67 | 71 | with: |
|
85 | 89 |
|
86 | 90 | - name: "Compile PHAR for checksum" |
87 | 91 | working-directory: "compiler/build" |
88 | | - run: "php box.phar compile --no-parallel" |
| 92 | + run: "php ../box/vendor/bin/box compile --no-parallel" |
89 | 93 | env: |
90 | 94 | PHAR_CHECKSUM: "1" |
91 | 95 | COMPOSER_ROOT_VERSION: "2.1.x-dev" |
@@ -255,11 +259,15 @@ jobs: |
255 | 259 | - name: "Install dependencies" |
256 | 260 | run: "composer install --no-interaction --no-progress" |
257 | 261 |
|
| 262 | + - name: "Install Box dependencies" |
| 263 | + working-directory: "compiler/box" |
| 264 | + run: "composer install" |
| 265 | + |
258 | 266 | - name: "Extract old phpstan.phar" |
259 | | - run: "php compiler/build/box.phar extract phar-file-checksum/phpstan.phar phar-old" |
| 267 | + run: "php ../box/vendor/bin/box extract phar-file-checksum/phpstan.phar phar-old" |
260 | 268 |
|
261 | 269 | - name: "Extract new phpstan.phar" |
262 | | - run: "php compiler/build/box.phar extract phpstan.phar phar-new" |
| 270 | + run: "php ../box/vendor/bin/box extract phpstan.phar phar-new" |
263 | 271 |
|
264 | 272 | - name: "List prefix locations in old PHAR" |
265 | 273 | run: "php .github/scripts/listPrefix.php ${{ github.workspace }}/phar-old > phar-old.txt" |
|
0 commit comments