Skip to content

Conversation

@neo-jesse
Copy link
Contributor

Fix GitHub Actions set-output deprecation warning

Updates the build-refs GitHub Action to use the new environment file approach instead of the deprecated set-output command.

Changes
Replace core.setOutput() calls with custom setOutput() function that writes to GITHUB_OUTPUT environment file
Add required fs and path imports for file operations
Maintain full compatibility with existing workflow

Background
GitHub deprecated the set-output command in favor of writing to the GITHUB_OUTPUT environment file. This change prevents deprecation warnings and ensures compatibility with future GitHub Actions runner versions.

Testing
All existing tests pass (30/30)
No breaking changes to workflow functionality
Action outputs remain the same for consuming workflows

@neo-jesse neo-jesse marked this pull request as ready for review October 20, 2025 19:47
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@neo-jesse neo-jesse merged commit 73d675c into main Oct 22, 2025
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.

2 participants