Update Build.yml

This commit is contained in:
Dmitry Nefedov
2022-09-01 20:05:09 +03:00
committed by GitHub
parent db0a6821f9
commit 831aaee4c8

View File

@@ -212,7 +212,7 @@ jobs:
id: read_release id: read_release
run: | run: |
# https://en.wikipedia.org/wiki/Percent-encoding # https://en.wikipedia.org/wiki/Percent-encoding
$Release = (Get-Content -Path Release.md -Encoding utf8 -Raw).replace("%", "%25").replace("`n", "%0A").replace("`r", "%0D") $Release = (Get-Content -Path Release.md -Encoding utf8 -Raw).replace("#", "%23").replace("`n", "%0A").replace("`r", "%0D")
# https://trstringer.com/github-actions-multiline-strings/ # https://trstringer.com/github-actions-multiline-strings/
echo "::set-output name=RELEASE_BODY::$Release" echo "::set-output name=RELEASE_BODY::$Release"