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