From b15fcc9cbd6b97a74aa1f6bd5f7d29928b17d616 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Wed, 8 Mar 2023 16:50:51 +0000 Subject: [PATCH] [gha] fix line endings in zlib build batch Signed-off-by: R4SAS --- .github/workflows/build-windows-msvc.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-windows-msvc.yml b/.github/workflows/build-windows-msvc.yml index a6d1f3c4..2c97f384 100644 --- a/.github/workflows/build-windows-msvc.yml +++ b/.github/workflows/build-windows-msvc.yml @@ -19,7 +19,11 @@ jobs: - name: Build and install zlib env: BUILD_TYPE: Debug - run: powershell -Command "(Invoke-WebRequest -Uri https://raw.githubusercontent.com/r4sas/zlib.install/master/install.bat -OutFile install_zlib.bat)"; ./install_zlib.bat; del install_zlib.bat + run: | + powershell -Command "(Invoke-WebRequest -Uri https://raw.githubusercontent.com/r4sas/zlib.install/master/install.bat -OutFile install_zlib.bat)" + powershell -Command "(Get-Content install_zlib.bat) | Set-Content install_zlib.bat" # fixing line endings + ./install_zlib.bat + del install_zlib.bat - name: Install Boost uses: crazy-max/ghaction-chocolatey@v2