GitHub Actions deprecations
GitHub removes old Node.js versions from its runners and retires runner images on fixed dates. Workflows that still use them fail or never start. Node.js 20 was removed on Sep 23, 2026.
Deprecated action versions
Official actions pinned to a major that runs on a Node.js version the runner no longer has, or to an artifact version that was shut down. Each moves to the oldest major that runs on Node.js 24.
| Action | Versions | Runtime | Removed | Move to | Source |
|---|---|---|---|---|---|
actions/checkout | v2 | Node.js 12 | actions/checkout@v5 | GitHub | |
actions/checkout | v3 | Node.js 16 | actions/checkout@v5 | GitHub | |
actions/checkout | v4 | Node.js 20 | actions/checkout@v5 | GitHub | |
actions/setup-node | v1, v2 | Node.js 12 | actions/setup-node@v6 | GitHub | |
actions/setup-node | v3 | Node.js 16 | actions/setup-node@v6 | GitHub | |
actions/setup-node | v4 | Node.js 20 | actions/setup-node@v6 | GitHub | |
actions/setup-python | v1, v2 | Node.js 12 | actions/setup-python@v6 | GitHub | |
actions/setup-python | v3, v4 | Node.js 16 | actions/setup-python@v6 | GitHub | |
actions/setup-python | v5 | Node.js 20 | actions/setup-python@v6 | GitHub | |
actions/cache | v1, v2 | Node.js 12 | actions/cache@v5 | GitHub | |
actions/cache | v3 | Node.js 16 | actions/cache@v5 | GitHub | |
actions/cache | v4 | Node.js 20 | actions/cache@v5 | GitHub | |
actions/upload-artifact | v1, v2 | Shut down | actions/upload-artifact@v6 | GitHub | |
actions/upload-artifact | v3 | Shut down | actions/upload-artifact@v6 | GitHub | |
actions/upload-artifact | v4, v5 | Node.js 20 | actions/upload-artifact@v6 | GitHub | |
actions/download-artifact | v1, v2 | Shut down | actions/download-artifact@v7 | GitHub | |
actions/download-artifact | v3 | Shut down | actions/download-artifact@v7 | GitHub | |
actions/download-artifact | v4, v5, v6 | Node.js 20 | actions/download-artifact@v7 | GitHub |
Artifact actions v4 and later use a new backend: artifact names must be unique within a run, and an upload and its download must both be on v4 or later.
Retired and retiring runner labels
GitHub-hosted runner images in runs-on. After the date, jobs on that label no longer start. Labels of self-hosted runners are not affected.
| Runner label | Retirement | Move to | Source |
|---|---|---|---|
ubuntu-22.04 | Retires | ubuntu-24.04 | GitHub |
macos-14 | Retired | macos-15 | GitHub |
macos-13 | Retired | macos-15 | GitHub |
windows-2019 | Retired | windows-2022 | GitHub |
ubuntu-20.04 | Retired | ubuntu-24.04 | GitHub |
macos-12 | Retired | macos-15 | GitHub |
macos-11 | Retired | macos-15 | GitHub |
ubuntu-18.04 | Retired | ubuntu-24.04 | GitHub |
macos-10.15 | Retired | macos-15 | GitHub |
windows-2016 | Retired | windows-2022 | GitHub |
set-output and save-state
The ::set-output and ::save-state workflow commands are deprecated. GitHub warns about them on every run and has said they will be disabled, but it has set no removal date. Write to the $GITHUB_OUTPUT or $GITHUB_STATE file instead:
Check your repository
Lists every deprecated action version, retired runner label and set-output line in a public repository's .github/workflows, with file and line, along with retiring AI models, outdated SDKs and known vulnerabilities.
How Versyka fixes it
- One pull request per repository with every fix it can make exactly: action versions, runner labels in
runs-on, and plain one-lineecho "::set-output ..."steps. - No AI. Each change is a plain text edit, and an edited workflow that no longer parses as YAML is dropped.
- Each action moves to the smallest version that runs on Node.js 24, not the newest one, so the jump is as small as it can be.
- Anything it can't change safely, like a commit SHA pin or a label inside a matrix, is listed in the pull request for you. Your CI runs the workflows on the pull request.
Questions
Is Node 20 deprecated in GitHub Actions?
Yes. GitHub removed Node.js 20 from its runners on Sep 23, 2026. Actions whose action.yml says node20 (for example actions/checkout@v4) need to move to a major that runs on Node.js 24.
Is set-output deprecated?
Yes. The ::set-output and ::save-state workflow commands are deprecated and GitHub warns about them on every run, but GitHub has not set a removal date. Write to the $GITHUB_OUTPUT or $GITHUB_STATE file instead, for example echo "name=value" >> "$GITHUB_OUTPUT".
Was the ubuntu-20.04 runner retired?
Yes, on Apr 15, 2025. Jobs with runs-on: ubuntu-20.04 no longer start on GitHub-hosted runners. Move them to ubuntu-24.04.
Which version should I move each action to?
The oldest major that runs on Node.js 24. It's the smallest jump that works on today's runners, so it changes the least. Self-hosted runners need Actions runner v2.327.1 or later for these versions; GitHub-hosted runners already have it.