Skip to content

Commit a8bf7c1

Browse files
authored
Update build.yml
1 parent d65132b commit a8bf7c1

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@v4
1515
with:
16-
lf: true # Принудительно используем LF окончания строк
16+
# Явно указываем использовать LF окончания
17+
fetch-depth: 0 # Опционально: получаем всю историю коммитов
18+
19+
- name: Configure Git line endings
20+
run: |
21+
git config --global core.autocrlf false
22+
git config --global core.eol lf
1723
1824
- name: Install Cygwin (Windows)
1925
if: matrix.os == 'windows-latest'
@@ -28,7 +34,7 @@ jobs:
2834
run: |
2935
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
3036
export PATH="/cygdrive/c/cygwin64/bin:$PATH"
31-
elif [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
37+
else
3238
sudo apt-get update
3339
sudo apt-get install -y libudev-dev libparted-dev
3440
fi

0 commit comments

Comments
 (0)