mirror of
https://github.com/orhun/git-cliff-action.git
synced 2026-03-22 07:25:43 +08:00
docs(readme): update advanced example about set-output usage
This commit is contained in:
@@ -84,7 +84,9 @@ jobs:
|
||||
r="${r//'%'/'%25'}" # Multiline escape sequences for %
|
||||
r="${r//$'\n'/'%0A'}" # Multiline escape sequences for '\n'
|
||||
r="${r//$'\r'/'%0D'}" # Multiline escape sequences for '\r'
|
||||
echo "::set-output name=RELEASE_BODY::$r"
|
||||
echo 'RELEASE_BODY<<EOF' >> $GITHUB_ENV
|
||||
echo "$r" >> $GITHUB_ENV
|
||||
echo 'EOF' >> $GITHUB_ENV
|
||||
|
||||
# use release body in the same job
|
||||
- name: Upload the binary releases
|
||||
|
||||
Reference in New Issue
Block a user