From 0463cd322de1849e1469c184dee2086dcb8cf2c1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 29 Mar 2026 13:35:01 +0000 Subject: [PATCH] Update GitHub Actions to fix Node.js 20 deprecation warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - actions/checkout@v4 → @v6 (Node.js 24 support) - microsoft/setup-msbuild@v2 → @v3 (Node.js 24 support) - Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true env for softprops/action-gh-release@v2, actions/upload-artifact@v4, and actions/download-artifact@v4 Agent-Logs-Url: https://github.com/sjackson0109/rdpwrap/sessions/6bd972e4-d369-4b43-bbe0-ea754bc00662 Co-authored-by: sjackson0109 <38080190+sjackson0109@users.noreply.github.com> --- .github/workflows/build-cpp.yml | 7 +++++-- .github/workflows/publish-ini.yml | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-cpp.yml b/.github/workflows/build-cpp.yml index a0ec763..398af10 100644 --- a/.github/workflows/build-cpp.yml +++ b/.github/workflows/build-cpp.yml @@ -7,6 +7,9 @@ on: - 'v*' workflow_dispatch: +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + permissions: contents: write @@ -20,10 +23,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup MSBuild - uses: microsoft/setup-msbuild@v2 + uses: microsoft/setup-msbuild@v3 # Override the v120 platform toolset with the VS 2022 toolset (v143). # The rdpwrap C++ source is standard Win32 API code and compiles cleanly diff --git a/.github/workflows/publish-ini.yml b/.github/workflows/publish-ini.yml index 7363bb2..b304abe 100644 --- a/.github/workflows/publish-ini.yml +++ b/.github/workflows/publish-ini.yml @@ -8,6 +8,9 @@ on: - '.github/workflows/publish-ini.yml' workflow_dispatch: +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + permissions: contents: write @@ -17,7 +20,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 # ── Extract the date string used for tagging and the updated field ────── - name: Get release metadata