Skip to content

Commit 7615022

Browse files
committed
Fix PHPStan with result cache build step on Windows
1 parent 4558673 commit 7615022

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/build.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -325,13 +325,7 @@ jobs:
325325
- name: "PHPStan with result cache"
326326
if: matrix.operating-system == 'windows-latest'
327327
shell: cmd
328-
run: |
329-
vendor\bin\phing phpstan-result-cache
330-
bin\phpstan clear-result-cache -c build/phpstan.neon
331-
vendor\bin\phing phpstan-result-cache
332-
echo. >> src\TrinaryLogic.php
333-
vendor\bin\phing phpstan-result-cache
334-
vendor\bin\phing phpstan-result-cache
328+
run: vendor\bin\phing phpstan-result-cache && php bin\phpstan clear-result-cache -c build/phpstan.neon && vendor\bin\phing phpstan-result-cache && echo. >> src\TrinaryLogic.php && vendor\bin\phing phpstan-result-cache && vendor\bin\phing phpstan-result-cache
335329

336330
- name: "Upload result cache artifact"
337331
uses: actions/upload-artifact@v1

0 commit comments

Comments
 (0)