From 3590df0300c56b9d3d9143af7ea0550b090a691a Mon Sep 17 00:00:00 2001 From: Chad Metcalf Date: Fri, 9 Dec 2022 10:23:51 -0800 Subject: [PATCH] Remove set-output in favor of GITHUB_OUTPUT Read more about set-output's deprecation: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dbe3a25..489c803 100644 --- a/README.md +++ b/README.md @@ -91,11 +91,12 @@ In order to keep this action as simple as possible we aren't planning to add mor log="${log//'%'/'%25'}" log="${log//$'\n'/'%0A'}" log="${log//$'\r'/'%0D'}" - echo "::set-output name=modified::$log" + echo "log=$log" >> $GITHUB_OUTPUT + - name: Print the modified changelog run: | cat << "EOF" - ${{ steps.modified.outputs.modified }} + ${{ steps.modified.outputs.log }} EOF ```