mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 13:14:01 +08:00
hopefully fix the auto crlf change
This commit is contained in:
parent
f3c8824639
commit
cfdfe14ad7
18
.github/workflows/build-win.yml
vendored
18
.github/workflows/build-win.yml
vendored
@ -48,6 +48,15 @@ jobs:
|
|||||||
!startsWith(github.ref, 'refs/pull/')
|
!startsWith(github.ref, 'refs/pull/')
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# on Windows Git will auto change line ending to CRLF, not preferable
|
||||||
|
- name: Ensure LF line ending
|
||||||
|
shell: cmd
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
|
run: |
|
||||||
|
git config --local core.autocrlf false
|
||||||
|
git config --system core.autocrlf false
|
||||||
|
git config --global core.autocrlf false
|
||||||
|
|
||||||
# we need branch because it has build scripts
|
# we need branch because it has build scripts
|
||||||
- name: Checkout branch
|
- name: Checkout branch
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -94,6 +103,15 @@ jobs:
|
|||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# on Windows Git will auto change line ending to CRLF, not preferable
|
||||||
|
- name: Ensure LF line ending
|
||||||
|
shell: cmd
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
|
run: |
|
||||||
|
git config --local core.autocrlf false
|
||||||
|
git config --system core.autocrlf false
|
||||||
|
git config --global core.autocrlf false
|
||||||
|
|
||||||
- name: Checkout branch
|
- name: Checkout branch
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user