Skip to content

Commit

Permalink
Fix PHPStan with result cache build step on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Mar 14, 2020
1 parent 4558673 commit 7615022
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -325,13 +325,7 @@ jobs:
- name: "PHPStan with result cache"
if: matrix.operating-system == 'windows-latest'
shell: cmd
run: |
vendor\bin\phing phpstan-result-cache
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
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

- name: "Upload result cache artifact"
uses: actions/upload-artifact@v1
Expand Down

0 comments on commit 7615022

Please sign in to comment.