Update Build.yml

This commit is contained in:
Dmitry Nefedov
2022-09-03 18:49:46 +03:00
committed by GitHub
parent 0169466c11
commit d3d5a07615

View File

@@ -211,7 +211,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("#", "%23").replace("`n", "%0A").replace("`r", "%0D") $Release = (Get-Content -Path Release.md -Encoding utf8 -Raw).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"