Skip to content

Commit

Permalink
Uses windows command to change file endings.
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonius committed Oct 8, 2020
1 parent bfe944d commit c3870ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Expand Up @@ -36,8 +36,8 @@ jobs:
- name: Convert Windows CRLF to LF.
if: runner.os == 'Windows'
run: |
find ./src -type f -print0 | xargs -0 dos2unix
find ./tests -type f -print0 | xargs -0 dos2unix
for /f "*.php" %%a in ('dir "src" /s /b') do ("C:\Program Files\unix2dos.exe" %%a)
for /f "*.php" %%a in ('dir "tests" /s /b') do ("C:\Program Files\unix2dos.exe" %%a)
- name: Validate composer.json and composer.lock
run: composer validate
Expand Down

0 comments on commit c3870ff

Please sign in to comment.