summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-10-23 16:26:37 +0200
committersfan5 <sfan5@live.de>2023-10-23 20:35:13 +0200
commitbfb10a8e86367a40d51f99fd03a37c4eb05ca623 (patch)
tree443de69422c962d393109131c85f7f0ceadfe712 /.github
parent9ade565a7c9cd22dc7dfd7f2e87afd81cede88a9 (diff)
downloadmpv-bfb10a8e86367a40d51f99fd03a37c4eb05ca623.tar.bz2
mpv-bfb10a8e86367a40d51f99fd03a37c4eb05ca623.tar.xz
ci/msys2: disable autocrlf
I won't even comment how terrible this option is and why in 2023 default is not at least `autocrlf=input`. Disable the conversion to CRLF. We build everything in MSYS2 sysroot, which supports/expects LF. While the checkout itself is done with actions/checkout@v3 and this causes problems.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a2910db9ed..34bf770a72 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -244,6 +244,11 @@ jobs:
run:
shell: msys2 {0}
steps:
+ - name: Disable autocrlf
+ shell: pwsh
+ run: |
+ git config --global core.autocrlf false
+ git config --global core.eol lf
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with: