Skip to content

fix(workflow): replace deprecated set-output command#67

Open
codewithbear wants to merge 1 commit intoopenfoodfacts:masterfrom
codewithbear:morph-set-output-fix-9k92v
Open

fix(workflow): replace deprecated set-output command#67
codewithbear wants to merge 1 commit intoopenfoodfacts:masterfrom
codewithbear:morph-set-output-fix-9k92v

Conversation

@codewithbear
Copy link
Copy Markdown

Fixes for the issues
openfoodfacts/smooth-app#5211
openfoodfacts/openfoodfacts-infrastructure#484

Created by AI Prompt

set-output workflow action is deprecated and should not be used. Instead environment variables should be used. Do not introduce any new files!

Examples: 
<example_before> run: echo "::set-output name=VERSION_NAME::${{ env.VERSION_NAME }}" && echo "::set-output name=VERSION_CODE::${{ env.VERSION_CODE }}" </example_before> 
<example_fixed> run: echo "VERSION_CODE=${{ env.VERSION_CODE }}" >> $GITHUB_ENV && echo "VERSION_NAME=${{ env.VERSION_NAME }}" >> $GITHUB_ENV </example_fixed>

This is an automated PR created by Morph (codemorph.dev)

@codewithbear codewithbear requested a review from a team as a code owner May 22, 2025 11:46
@sonarqubecloud
Copy link
Copy Markdown

@codewithbear codewithbear changed the title set-output fix fix(workflow): replace deprecated set-output command May 22, 2025
@teolemon teolemon requested a review from Copilot May 22, 2025 13:01
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the CI workflow to replace the deprecated ::set-output command with the new $GITHUB_OUTPUT mechanism.

  • Switches the composer-cache step to write outputs using $GITHUB_OUTPUT
  • Removes the old ::set-output usage

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