Skip to content

Fix deprecated GitHub Actions outputs#3881

Merged
roji merged 1 commit into
mainfrom
roji-fix-deprecated-workflow-output
Jul 10, 2026
Merged

Fix deprecated GitHub Actions outputs#3881
roji merged 1 commit into
mainfrom
roji-fix-deprecated-workflow-output

Conversation

@roji

@roji roji commented Jul 10, 2026

Copy link
Copy Markdown
Member

GitHub Actions warns that the set-output command is deprecated. Replace the tag-analysis step's deprecated workflow commands with $GITHUB_OUTPUT environment-file writes while preserving the existing release and prerelease job outputs.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 10, 2026 09:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the CI workflow to eliminate deprecated GitHub Actions set-output usage by switching the tag analysis step to write step outputs via the $GITHUB_OUTPUT environment file, keeping downstream job output wiring intact.

Changes:

  • Replaced ::set-output commands in the Analyze tag step with echo "<name>=<value>" >> "$GITHUB_OUTPUT" writes.
  • Preserved the existing job outputs (jobs.build.outputs.is_release / is_prerelease) which flow from steps.analyze_tag.outputs.*.
Show a summary per file
File Description
.github/workflows/build.yml Migrates tag-analysis outputs from deprecated set-output to $GITHUB_OUTPUT while keeping the same output names consumed by downstream jobs.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@roji roji enabled auto-merge (squash) July 10, 2026 09:10
@roji roji merged commit b187e45 into main Jul 10, 2026
16 checks passed
@roji roji deleted the roji-fix-deprecated-workflow-output branch July 10, 2026 09:13
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