Skip to content

Commit c3de582

Browse files
committed
fix(ci): fix yaml multiline escaping in build workflow
1 parent af2b2ea commit c3de582

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,7 @@ jobs:
7171
Copy-Item -Path ./LICENSE -Destination "$pkgDir/" -Force
7272
7373
# Create launch bat
74-
@"
75-
@echo off
76-
cd /d "%~dp0"
77-
start "" "zapret2.exe"
78-
"@ | Set-Content -Path "$pkgDir/Запустить zapret2.bat" -Encoding ASCII
74+
"@echo off`r`ncd /d `"%~dp0`"`r`nstart `"`" `"zapret2.exe`"" | Set-Content -Path "$pkgDir/Запустить zapret2.bat" -Encoding ASCII
7975
8076
Compress-Archive -Path "$pkgDir/*" -DestinationPath ./zapret2-v1.0.5.2-windows-x64.zip -CompressionLevel Optimal
8177

0 commit comments

Comments
 (0)