From 7078d9e80882d4a93d866c645f5e4a1e62b58893 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Wed, 31 Aug 2022 14:22:06 +0300 Subject: [PATCH] Update Build.yaml --- .github/workflows/Build.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index 5b67581..6473bed 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -157,6 +157,20 @@ jobs: } Compress-Archive @Parameters + - name: Read release.md and use it as a body of new release + id: read_release + run: | + $Release = Get-Content -Path Release.md -Encoding utf8 + echo "::set-output name=RELEASE_BODY::$Release" + + - name: Upload Binaries to Release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref }} + body: | + ${{ steps.read_release.outputs.RELEASE_BODY }} + - name: Uploading ReVanced.zip to release uses: svenstaro/upload-release-action@master with: