Skip to content

Move the workflows off the Node 20 action runtimes - #22

Merged
markheath merged 1 commit into
masterfrom
claude/naudio-3-compatibility-9so9qq
Sep 4, 2026
Merged

markheath merged 1 commit into
masterfrom
claude/naudio-3-compatibility-9so9qq

Conversation

@markheath

Copy link
Copy Markdown
Contributor

The runner warns that actions/checkout@v4, actions/setup-dotnet@v4 and actions/upload-artifact@v4 target Node 20 and are being forced onto Node 24 (deprecation notice).

Each is bumped to the current major, all three of which declare node24:

Action Was Now
actions/checkout v4 v7
actions/setup-dotnet v4 v6
actions/upload-artifact v4 v7

Worth noting actions/upload-artifact@v5 still declares node20, so v5 would not have silenced the warning — v6 was the first that moved. NuGet/login@v1 already runs on node24, which is why it isn't in the warning.

Nothing needed adapting for the jump:

  • checkout v6 moves credentials out of .git/config into $RUNNER_TEMP — explicitly no workflow changes required, and the caveat only affects Docker container actions, which these workflows don't use. v7 refuses to check out fork code under pull_request_target and workflow_run; the triggers here are pull_request, push, workflow_dispatch and v* tags.
  • setup-dotnet v6 is an ESM migration with no changes to inputs, outputs or behaviour; v5 was purely the Node 24 move.
  • upload-artifact v4 → v7 is additive: diffing the action definitions, the only change beyond the runtime is a new archive input defaulting to true, the existing behaviour.

Every input in use — fetch-depth, dotnet-version, name, path, if-no-files-found — is unchanged at the new versions. These majors need Actions Runner v2.327.1 or later, which hosted windows-latest is well past.

This commit was pushed to the #21 branch just after that PR merged, so it's split out here rather than reopening a merged PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_019ysTjCRRPXjVbtSvMuNKZ1


Generated by Claude Code

The runner now warns that actions/checkout@v4, actions/setup-dotnet@v4 and
actions/upload-artifact@v4 target Node 20 and are being forced onto Node 24.

Each is bumped to the current major, all three of which declare node24:
checkout v7, setup-dotnet v6, upload-artifact v7. upload-artifact v5 is still
node20, so v5 would not have silenced the warning - v6 was the first that did.
NuGet/login@v1 already runs on node24 and is unchanged.

Nothing here needs adapting for the jump. The inputs in use - fetch-depth,
dotnet-version, name, path, if-no-files-found - are unchanged, and
upload-artifact's definition only gains an `archive` input that defaults to
the old behaviour. checkout v6 moves credentials out of .git/config, which
needs no workflow change and no Docker container actions, and v7 blocks fork
code under pull_request_target and workflow_run, neither of which these
workflows use. setup-dotnet v6 is an ESM migration with no behaviour change.

These majors need Actions Runner v2.327.1 or later, which the hosted
windows-latest image is well past.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019ysTjCRRPXjVbtSvMuNKZ1
@markheath
markheath merged commit 05b39ab into master Sep 4, 2026
2 checks passed
@markheath
markheath deleted the claude/naudio-3-compatibility-9so9qq branch September 4, 2026 18: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.

2 participants