Skip to content

Commit b5e3504

Browse files
cataphractclaude
andcommitted
Fix YAML syntax error in vcpkg install step
PowerShell here-strings require content at column 0 which breaks YAML block scalars. Use backtick newlines in a regular string instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9b1f244 commit b5e3504

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,8 @@ jobs:
9494
run: |
9595
$tripletDir = "$env:RUNNER_TEMP\vcpkg-triplets"
9696
New-Item -ItemType Directory -Force -Path $tripletDir | Out-Null
97-
Set-Content "$tripletDir\x64-windows-static-md.cmake" @'
98-
set(VCPKG_TARGET_ARCHITECTURE x64)
99-
set(VCPKG_CRT_LINKAGE dynamic)
100-
set(VCPKG_LIBRARY_LINKAGE static)
101-
set(VCPKG_BUILD_TYPE release)
102-
'@
97+
Set-Content "$tripletDir\x64-windows-static-md.cmake" `
98+
"set(VCPKG_TARGET_ARCHITECTURE x64)`nset(VCPKG_CRT_LINKAGE dynamic)`nset(VCPKG_LIBRARY_LINKAGE static)`nset(VCPKG_BUILD_TYPE release)"
10399
C:\vcpkg\vcpkg.exe install libarchive `
104100
--triplet x64-windows-static-md `
105101
--overlay-triplets="$tripletDir" `

0 commit comments

Comments
 (0)