Skip to content

Commit 3a5b89e

Browse files
authored
Remove set-output in favor of GITHUB_OUTPUT (#172)
Read more about set-output's deprecation: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
1 parent 1776f11 commit 3a5b89e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,12 @@ In order to keep this action as simple as possible we aren't planning to add mor
9191
log="${log//'%'/'%25'}"
9292
log="${log//$'\n'/'%0A'}"
9393
log="${log//$'\r'/'%0D'}"
94-
echo "::set-output name=modified::$log"
94+
echo "log=$log" >> $GITHUB_OUTPUT
95+
9596
- name: Print the modified changelog
9697
run: |
9798
cat << "EOF"
98-
${{ steps.modified.outputs.modified }}
99+
${{ steps.modified.outputs.log }}
99100
EOF
100101
```
101102

0 commit comments

Comments
 (0)