Skip to content

Commit

Permalink
Set git to use LF on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
yagisumi committed Oct 15, 2020
1 parent 7b23c63 commit 1be093d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
node: [10, 12, 14]
steps:
- name: Set git to use LF
if: matrix.os == 'windows-latest'
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v2
- name: Set Node.js
uses: actions/setup-node@v1
Expand Down

0 comments on commit 1be093d

Please sign in to comment.