From 761502219acf0191a432bdffa810ad42635f7eef Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Sat, 14 Mar 2020 14:15:55 +0100 Subject: [PATCH] Fix PHPStan with result cache build step on Windows --- .github/workflows/build.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 312d7e49de..e2b5d1bae3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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