mirror of
https://github.com/JDM170/ReVanced_Builder
synced 2025-11-29 14:41:46 +07:00
Update Build.yaml
This commit is contained in:
7
.github/workflows/Build.yaml
vendored
7
.github/workflows/Build.yaml
vendored
@@ -176,10 +176,11 @@ jobs:
|
|||||||
- name: Release.txt
|
- name: Release.txt
|
||||||
id: read_release
|
id: read_release
|
||||||
run: |
|
run: |
|
||||||
$Release = (Get-Content -Path Release.txt -Encoding utf8 -Raw).replace("%", "[char]0x25").replace("*", "[char]0x002A").replace("\n", "[char]0x0A").replace("\r", "[char]0x0D")
|
# https://en.wikipedia.org/wiki/Percent-encoding
|
||||||
$Release
|
$Release = (Get-Content -Path Release.md -Encoding utf8 -Raw).replace("%", "%25").replace("`n", "%0A").replace("`r", "%0D")
|
||||||
|
|
||||||
|
# https://trstringer.com/github-actions-multiline-strings/
|
||||||
echo "::set-output name=RELEASE_BODY::$Release"
|
echo "::set-output name=RELEASE_BODY::$Release"
|
||||||
${{ steps.read_release.outputs.RELEASE_BODY }}
|
|
||||||
|
|
||||||
- name: Uploading ReVanced.zip to release
|
- name: Uploading ReVanced.zip to release
|
||||||
uses: svenstaro/upload-release-action@master
|
uses: svenstaro/upload-release-action@master
|
||||||
|
|||||||
Reference in New Issue
Block a user