From 74fa488023e68d4b242e6eba1ea1a1dd309deb90 Mon Sep 17 00:00:00 2001 From: Dominik Gedon Date: Mon, 24 Mar 2025 11:05:30 +0100 Subject: [PATCH] Replace deprecated `::set-output` (#681) As per the deprecation warning and explanation at https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/gorelease.yml | 2 +- CHANGELOG.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gorelease.yml b/.github/workflows/gorelease.yml index ef0c6da..80d012f 100644 --- a/.github/workflows/gorelease.yml +++ b/.github/workflows/gorelease.yml @@ -33,7 +33,7 @@ jobs: OUTPUT=$(gorelease 2>&1 || exit 0) echo "${OUTPUT}" OUTPUT="${OUTPUT//$'\n'/%0A}" - echo "::set-output name=report::$OUTPUT" + echo "report=$OUTPUT" >> $GITHUB_OUTPUT - name: Comment Report continue-on-error: true uses: marocchino/sticky-pull-request-comment@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 2330ede..5845d20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt ### Added - Step text is added to "step is undefined" error - ([669](https://github.com/cucumber/godog/pull/669) - [vearutop](https://github.com/vearutop)) +### Changed +- Replace deprecated `::set-output` - ([681](https://github.com/cucumber/godog/pull/681) - [nodeg](https://github.com/nodeg)) + ### Fixed - fix(errors): fix(errors): Fix expected Step argument count for steps with `context.Context` ([679](https://github.com/cucumber/godog/pull/679) - [tigh-latte](https://github.com/tigh-latte)) - fix(formatter): On concurrent execution, execute formatter at end of Scenario - ([645](https://github.com/cucumber/godog/pull/645) - [tigh-latte](https://github.com/tigh-latte))