From 0bba1631f710da8555ac405ff4291077de183ed1 Mon Sep 17 00:00:00 2001 From: Skorinn <42702903+Skorinn@users.noreply.github.com> Date: Wed, 9 Sep 2026 06:35:57 -0500 Subject: [PATCH] Move the release workflow onto actions that still run Every action the release used targets Node 20, which GitHub has deprecated. The runners are already forcing them onto Node 24 and saying so in an annotation on each run; when the forcing stops, the release stops with it. checkout v4 to v7, upload-artifact v4 to v7, setup-msbuild v2 to v3 and setup-nuget v2 to v4. Each of those is the current major and each declares node24, which is the point of the change rather than the version numbers themselves. Every input the workflow passes - fetch-depth on the checkout, and name, path and retention-days on the upload - is still an input on the new majors, so nothing else in the file had to move. This cannot be exercised from a branch: the workflow refuses to run anywhere but master, and it refuses before it reaches the first of these actions. It is worth a run against a throwaway version once it is on master, with the draft that produces deleted afterwards. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_0153VVkWg7DQmdaNLcvtY37w --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c25b177..434f467 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,7 +64,7 @@ jobs: } - name: Check out master - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -86,10 +86,10 @@ jobs: } - name: Set up MSBuild - uses: microsoft/setup-msbuild@v2 + uses: microsoft/setup-msbuild@v3 - name: Set up NuGet - uses: NuGet/setup-nuget@v2 + uses: NuGet/setup-nuget@v4 - name: Restore packages shell: pwsh @@ -191,7 +191,7 @@ jobs: } - name: Keep the package with the run - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: RandomNumberGenerator-${{ inputs.version }} path: RandomNumberGenerator-${{ inputs.version }}.zip