Skip to content

Github is deprecating set-output commands #2150

@mpkorstanje

Description

@mpkorstanje

👓 What did you see?

Github is deprecating ::set-output. See: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

We use ::set-output in a lot of projects

mpkorstanje@nyx:~/Projects/cucumber$ grep -rl "::set-output"
cucumber-expressions/.github/workflows/test-python.yml
gherkin-fix-build.patch
action-get-versions/entrypoint.sh
gherkin/.github/workflows/test-php.yml
action-publish-sbt/.github/workflows/test.yml
action-publish-hex/.github/workflows/test.yaml
action-publish-npm/.github/workflows/test.yaml
action-create-release-pr/action.yaml
action-changelog/entrypoint.sh
messages/.github/workflows/test-php.yml
action-publish-mvn/.github/workflows/test.yaml
godog/.github/workflows/gorelease.yml
action-publish-cpan/action.yaml
action-publish-cpan/.github/workflows/test.yaml

It can be replaced with echo "key=$value" >> $GITHUB_OUTPUT

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions