mirror of
https://github.com/JDM170/ReVanced_Builder
synced 2025-11-29 14:41:46 +07:00
Update Release.yml
This commit is contained in:
8
.github/workflows/Release.yml
vendored
8
.github/workflows/Release.yml
vendored
@@ -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]::ConvertFromUtf32(0x25)))
|
$Release = $Release.replace("%", "%25")
|
||||||
$Release = $Release.replace("*", $([char]::ConvertFromUtf32(0x002A)))
|
$Release = $Release.replace("*", "%2A")
|
||||||
$Release = $Release.replace("`n", $([char]::ConvertFromUtf32(0x0A)))
|
$Release = $Release.replace("`n", "%0A")
|
||||||
$Release = $Release.replace("`r", $([char]::ConvertFromUtf32(0x0D)))
|
$Release = $Release.replace("`r", "%0D")
|
||||||
|
|
||||||
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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user