diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 41fad33..be4adca 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -19,8 +19,8 @@ jobs: $Release = (Get-Content -Path Release.txt -Encoding utf8 -Raw) $Release = $Release.replace("%", "[char]0x25") $Release = $Release.replace("*", "[char]0x002A") - $Release = $Release.replace("$\n", "[char]0x0A") - $Release = $Release.replace("$\r", "[char]0x0D") + $Release = $Release.replace("`n", "[char]0x0A") + $Release = $Release.replace("`r", "[char]0x0D") echo "::set-output name=RELEASE_BODY::$Release" ${{ steps.read_release.outputs.RELEASE_BODY }}