Update Release.yml

This commit is contained in:
Dmitry Nefedov
2022-09-01 00:26:02 +03:00
committed by GitHub
parent 460ea53071
commit c8b8354663

View File

@@ -17,10 +17,10 @@ jobs:
id: read_release id: read_release
run: | run: |
$Release = (Get-Content -Path Release.txt -Encoding utf8 -Raw) $Release = (Get-Content -Path Release.txt -Encoding utf8 -Raw)
$Release = $Release.replace("%", $([char]0x25)) $Release = $Release.replace("%", $([char]::ConvertFromUtf32(0x25)))
$Release = $Release.replace("*", $([char]0x002A)) $Release = $Release.replace("*", $([char]::ConvertFromUtf32(0x002A)))
$Release = $Release.replace("`n", $([char]0x0A)) $Release = $Release.replace("`n", $([char]::ConvertFromUtf32(0x0A)))
$Release = $Release.replace("`r", $([char]0x0D)) $Release = $Release.replace("`r", $([char]::ConvertFromUtf32(0x0D)))
echo "::set-output name=RELEASE_BODY::$Release" echo "::set-output name=RELEASE_BODY::$Release"
${{ steps.read_release.outputs.RELEASE_BODY }} ${{ steps.read_release.outputs.RELEASE_BODY }}