Skip to content

Fix invalid YAML in vcpkg workflow#13

Merged
gistrec merged 1 commit into
masterfrom
fix-vcpkg-yaml-syntax
May 8, 2026
Merged

Fix invalid YAML in vcpkg workflow#13
gistrec merged 1 commit into
masterfrom
fix-vcpkg-yaml-syntax

Conversation

@gistrec
Copy link
Copy Markdown
Owner

@gistrec gistrec commented May 8, 2026

Summary

The vcpkg workflow added in #12 fails to load with:

Invalid workflow file: .github/workflows/vcpkg.yml#L68

The root cause is on line 70:

run: "$VCPKG_INSTALLATION_ROOT/vcpkg" install geo-utils-cpp

After the closing quote, YAML does not accept the trailing tokens.

Switched the step to a literal block scalar (run: |), matching the style of the surrounding steps.

Test plan

  • vcpkg workflow loads and runs on push

The inline form `run: "$VCPKG_INSTALLATION_ROOT/vcpkg" install geo-utils-cpp`
is rejected by the YAML parser: after the closing double quote the rest of
the line is unexpected content. Switched to a literal block scalar so bash
sees the full command intact.
@gistrec gistrec self-assigned this May 8, 2026
@gistrec gistrec requested a review from MrHerrn May 8, 2026 22:06
@gistrec gistrec merged commit 3123b5f into master May 8, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants