build: express source line endings through Git attributes

This commit is contained in:
Kevin Yue committed 2026-11-14 23:44:47 +08:00
1 parent 594ab0ea32
commit 1ac01081e0
2 files changed
+2 -3

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
# Keep source and build scripts consistent on every platform.
* text=auto eol=lf
-3
View File
@@ -37,9 +37,6 @@ jobs:
GPGUI_WINDOWS_UPDATE_PUBLIC_KEY: ${{ vars.WINDOWS_UPDATE_PUBLIC_KEY }}
GPGUI_LICENSE_SIGNING_KEYS: ${{ vars.GPGUI_LICENSE_SIGNING_KEYS }}
steps:
- name: Preserve Unix source line endings
shell: pwsh
run: git config --global core.autocrlf false
- uses: actions/checkout@v6
with:
path: .ci