From ff7b4c7a33ce84ffadc8fd26d0949b73c80015db Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Thu, 1 Sep 2022 00:45:48 +0300 Subject: [PATCH] Update Release.yml --- .github/workflows/Release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 8896b54..d7301d4 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -17,10 +17,10 @@ jobs: id: read_release run: | $Release = (Get-Content -Path Release.txt -Encoding utf8 -Raw) - $Release = $Release.replace("%", $([char]::ConvertFromUtf32(0x25))) - $Release = $Release.replace("*", $([char]::ConvertFromUtf32(0x002A))) - $Release = $Release.replace("`n", $([char]::ConvertFromUtf32(0x0A))) - $Release = $Release.replace("`r", $([char]::ConvertFromUtf32(0x0D))) + $Release = $Release.replace("%", "%25") + $Release = $Release.replace("*", "%2A") + $Release = $Release.replace("`n", "%0A") + $Release = $Release.replace("`r", "%0D") echo "::set-output name=RELEASE_BODY::$Release" ${{ steps.read_release.outputs.RELEASE_BODY }}