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.

ActionVersionsRuntimeRemovedMove toSource
actions/checkoutv2Node.js 12actions/checkout@v5GitHub
actions/checkoutv3Node.js 16actions/checkout@v5GitHub
actions/checkoutv4Node.js 20actions/checkout@v5GitHub
actions/setup-nodev1, v2Node.js 12actions/setup-node@v6GitHub
actions/setup-nodev3Node.js 16actions/setup-node@v6GitHub
actions/setup-nodev4Node.js 20actions/setup-node@v6GitHub
actions/setup-pythonv1, v2Node.js 12actions/setup-python@v6GitHub
actions/setup-pythonv3, v4Node.js 16actions/setup-python@v6GitHub
actions/setup-pythonv5Node.js 20actions/setup-python@v6GitHub
actions/cachev1, v2Node.js 12actions/cache@v5GitHub
actions/cachev3Node.js 16actions/cache@v5GitHub
actions/cachev4Node.js 20actions/cache@v5GitHub
actions/upload-artifactv1, v2Shut downactions/upload-artifact@v6GitHub
actions/upload-artifactv3Shut downactions/upload-artifact@v6GitHub
actions/upload-artifactv4, v5Node.js 20actions/upload-artifact@v6GitHub
actions/download-artifactv1, v2Shut downactions/download-artifact@v7GitHub
actions/download-artifactv3Shut downactions/download-artifact@v7GitHub
actions/download-artifactv4, v5, v6Node.js 20actions/download-artifact@v7GitHub

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 labelRetirementMove toSource
ubuntu-22.04Retires ubuntu-24.04GitHub
macos-14Retired macos-15GitHub
macos-13Retired macos-15GitHub
windows-2019Retired windows-2022GitHub
ubuntu-20.04Retired ubuntu-24.04GitHub
macos-12Retired macos-15GitHub
macos-11Retired macos-15GitHub
ubuntu-18.04Retired ubuntu-24.04GitHub
macos-10.15Retired macos-15GitHub
windows-2016Retired windows-2022GitHub

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:

- echo "::set-output name=version::$VERSION"
+ echo "version=$VERSION" >> "$GITHUB_OUTPUT"

GitHub's deprecation notice

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.

We never store your code. For a private repository, use the GitHub Action.

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-line echo "::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.

Start free with GitHub How it works in the docs

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.