Update test.yml

This commit is contained in:
Dmitry Nefedov
2022-09-03 18:47:50 +03:00
committed by GitHub
parent 66d0243ad1
commit b044074824

View File

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