Update Release.yml

This commit is contained in:
Dmitry Nefedov
2022-09-01 01:04:01 +03:00
committed by GitHub
parent 6af059e117
commit 46c2ddd72a

View File

@@ -19,8 +19,7 @@ jobs:
# https://en.wikipedia.org/wiki/Percent-encoding
$Release = (Get-Content -Path Release.md -Encoding utf8 -Raw).replace("%", "%25").replace("*", "%2A").replace("`n", "%0A").replace("`r", "%0D")
#echo "::set-output name=RELEASE_BODY::$Release"
echo "RELEASE_BODY=$Release" >> $env:GITHUB_ENV
echo "::set-output name=RELEASE_BODY::$Release"
- name: Uploading ReVanced.zip to release
uses: svenstaro/upload-release-action@master
@@ -28,7 +27,7 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: Release.md
tag: ${{ github.ref }}
body: ${{ env.RELEASE_BODY }}
body: ${{ steps.read_release.outputs.RELEASE_BODY }}
overwrite: true
file_glob: true
prerelease: $false