Skip to content

Commit

Permalink
CI: multiline log
Browse files Browse the repository at this point in the history
  • Loading branch information
sqzw-x committed Jan 19, 2024
1 parent 453cb75 commit 353cd42
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,9 @@ jobs:
id: get-changelog
if: ${{ matrix.build == 'macos' }}
run: |
log=$(cat changelog.md)
cat <<EOF >> $GITHUB_OUTPUT
CHANGELOG=$log
EOF
echo 'CHANGELOG<<EOF' >> $GITHUB_OUTPUT
cat changelog.md >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
- name: Create Release - macOS
uses: svenstaro/[email protected]
Expand Down

0 comments on commit 353cd42

Please sign in to comment.