Skip to content

Fix CI: align vcpkg commit with builtin-baseline, bump Actions to v4#10

Merged
xarthurx merged 1 commit intomainfrom
copilot/fix-github-action-version-issue
Apr 1, 2026
Merged

Fix CI: align vcpkg commit with builtin-baseline, bump Actions to v4#10
xarthurx merged 1 commit intomainfrom
copilot/fix-github-action-version-issue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 1, 2026

build-cpp fails because vcpkg.json was updated with a newer builtin-baseline referencing eigen3@3.4.1#1 and libigl@2.6.0, but the workflow still checked out an older vcpkg snapshot that doesn't have those versions in its registry.

vcpkg version mismatch

  • Update vcpkgGitCommitId to 5dfa11cf88a8da8877b54fcbc5f6db78bc13f75a to match builtin-baseline in GeoSharPlusCPP/vcpkg.json

Deprecated Actions (Node.js 20 → 24 migration)

  • actions/checkout v3 → v4
  • actions/cache v3 → v4
  • actions/setup-dotnet v3 → v4

Note: lukka/run-vcpkg@v11 and lukka/run-cmake@v10 also run on Node.js 20 but are third-party — no newer major versions available yet. These will need updating before the June 2026 Node.js 24 enforcement deadline.

Update vcpkgGitCommitId to match builtin-baseline in vcpkg.json (5dfa11cf)
so that eigen3@3.4.1#1 and libigl@2.6.0 are available in the registry.

Update actions/checkout, actions/cache, and actions/setup-dotnet from v3
to v4 to resolve Node.js 20 deprecation warnings.

Agent-Logs-Url: https://github.com/xarthurx/igMesh/sessions/52dd344b-e068-4689-b815-03171269cf19

Co-authored-by: xarthurx <1921878+xarthurx@users.noreply.github.com>
@xarthurx xarthurx marked this pull request as ready for review April 1, 2026 13:18
Copilot AI review requested due to automatic review settings April 1, 2026 13:18
@xarthurx xarthurx merged commit 50fea76 into main Apr 1, 2026
1 check passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the C++ CI workflow by pinning vcpkg to a commit that contains the builtin-baseline referenced by vcpkg.json, and updates first-party GitHub Actions to their v4 releases.

Changes:

  • Bump actions/checkout, actions/cache, and actions/setup-dotnet from v3 to v4.
  • Update vcpkgGitCommitId to align with the builtin-baseline used by the repo’s vcpkg.json.

uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: ce613c41372b23b1f51333815feb3edd87ef8a8b # 2025-04-09 version
vcpkgGitCommitId: 5dfa11cf88a8da8877b54fcbc5f6db78bc13f75a # matches builtin-baseline in vcpkg.json
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new comment explains intent, but it removes the previous date-based context and doesn’t identify which vcpkg.json it refers to. To make future maintenance and audits easier, consider expanding the comment to include (a) the path to the vcpkg.json whose builtin-baseline this matches and (b) a human-friendly date (or the baseline value) alongside the commit hash.

Suggested change
vcpkgGitCommitId: 5dfa11cf88a8da8877b54fcbc5f6db78bc13f75a # matches builtin-baseline in vcpkg.json
vcpkgGitCommitId: 5dfa11cf88a8da8877b54fcbc5f6db78bc13f75a # matches builtin-baseline in GeoSharPlusCPP/vcpkg.json (builtin-baseline: 5dfa11cf88a8da8877b54fcbc5f6db78bc13f75a, as of 2024-03-01)

Copilot uses AI. Check for mistakes.
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.

3 participants