From 46c2ddd72a7800c9cc7806039a6f1fa3568e559b Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Thu, 1 Sep 2022 01:04:01 +0300 Subject: [PATCH] Update Release.yml --- .github/workflows/Release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 3b573af..dcb39dc 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -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