diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e1ff879..6e7194ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,13 @@ jobs: - name: Extract changelog entry id: changelog-entry - run: echo "content=$(awk '/^## \[${{ steps.new-version.outputs.version }}\]/{flag=1; next} /^## /{flag=0} flag' CHANGELOG.md)" >> "${GITHUB_OUTPUT}" + # See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings + run: | + { + echo 'content<> "${GITHUB_OUTPUT}" - name: Publish to crates.io # cargo-release calculates the dependency graph for us, and also skips any already