Skip to content

Update GitHub Actions to Node 24 runtime#7

Merged
seasonyuu merged 4 commits into
masterfrom
fix/actions-node24-deprecation
Apr 27, 2026
Merged

Update GitHub Actions to Node 24 runtime#7
seasonyuu merged 4 commits into
masterfrom
fix/actions-node24-deprecation

Conversation

@seasonyuu
Copy link
Copy Markdown
Contributor

Summary

  • Update Windows vcpkg cache restore from actions/cache@v4 to actions/cache@v5, which declares the Node 24 runtime.
  • Opt GitHub Actions JavaScript actions into Node 24 with FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true so ilammy/msvc-dev-cmd@v1 no longer runs under the deprecated Node 20 runtime.
  • Apply the same change to CI and Release workflows.

Verification

  • Confirmed actions/cache@v5 action metadata declares using: node24.
  • Confirmed current ilammy/msvc-dev-cmd@v1/v1.13.0 still declares using: node20, so the workflow-level Node 24 opt-in is required unless we replace that action.
  • Local static checks passed:
    • YAML parsed for .github/workflows/ci.yml and .github/workflows/release.yml
    • git diff --check -- .github/workflows/ci.yml .github/workflows/release.yml
    • content check verified actions/cache@v5 and FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true

Notes

This keeps the existing MSVC setup behavior unchanged. A larger alternative would be replacing ilammy/msvc-dev-cmd with an inline PowerShell/vswhere setup step, but that is higher risk for the Windows ARM job.

@seasonyuu seasonyuu merged commit 13828b7 into master Apr 27, 2026
12 checks passed
@seasonyuu seasonyuu deleted the fix/actions-node24-deprecation branch April 27, 2026 09:04
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.

1 participant