Skip to content

Replace deprecated set-output with GITHUB_OUTPUT and bump Node runtime to node24#43

Merged
jmklix merged 2 commits into
aws-github-ops:mainfrom
jmklix:fix/deprecated-set-output-node20
Jul 9, 2026
Merged

Replace deprecated set-output with GITHUB_OUTPUT and bump Node runtime to node24#43
jmklix merged 2 commits into
aws-github-ops:mainfrom
jmklix:fix/deprecated-set-output-node20

Conversation

@jmklix

@jmklix jmklix commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumps @actions/core ^1.9.1^1.10.1 so core.setOutput writes to $GITHUB_OUTPUT instead of emitting the deprecated ::set-output workflow command.
  • Bumps action.yml runtime node12node24 (Node 12 and Node 16 are both EOL on GitHub Actions).
  • Bumps @actions/github ^5.0.0^6.0.0 (dropped legacy transitive undici) and @vercel/ncc ^0.31.1^0.38.1 (0.31 fails under modern Node's OpenSSL, so the bundle could not otherwise be regenerated).
  • Regenerated dist/index.js and dist/LICENSE.md via npm run build; verified setOutput now writes to $GITHUB_OUTPUT.

No source (src/*.ts) changes were needed — the fix is entirely in the pinned dependency versions and the runtime declaration.

Fixes #42.

Test plan

  • npm test — 41/41 pass, lint clean
  • grep -n "GITHUB_OUTPUT" dist/index.js — confirms the new code path
  • Consumer smoke test: run this branch of the action against a test issue on a downstream repo (e.g. aws/aws-cdk's issue-label-assign.yml workflow) and confirm no set-output deprecation warnings appear in the run log

Comment thread action.yml Outdated
@jmklix jmklix changed the title Replace deprecated set-output with GITHUB_OUTPUT and bump Node runtime to node20 Replace deprecated set-output with GITHUB_OUTPUT and bump Node runtime to node24 Jul 9, 2026
@jmklix
jmklix requested a review from kellertk July 9, 2026 20:34
@jmklix
jmklix merged commit d22c6c4 into aws-github-ops:main Jul 9, 2026
4 checks passed
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.

Replace deprecated set-output usage with GITHUB_OUTPUT environment files

2 participants