commit 644fbb1fb8113e134fddd1877c407421cf2fa964 parent c664484af0593ba5388874035cb5458303f2673c Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Tue, 19 Nov 2024 23:25:32 +0100 use body_path instead of body Diffstat:
M | .github/workflows/release.yml | | | 18 | +----------------- |
1 file changed, 1 insertion(+), 17 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml @@ -42,22 +42,6 @@ jobs: working-directory: ${{github.workspace}}/build run: cmake -P ${{github.workspace}}/scripts/pack.cmake - - name: Read Changelog on Linux/MacOS - if: runner.os != 'Windows' - id: read-changelog - run: | - cat doc/changelog.txt - shell: bash - continue-on-error: false - - - name: Read Changelog on Windows - if: runner.os == 'Windows' - id: read-changelog - run: | - type doc\changelog.txt - shell: cmd - continue-on-error: false - - name: Create GitHub Release id: create-release uses: actions/create-release@v1 @@ -66,7 +50,7 @@ jobs: with: tag_name: ${{ env.VERSION }} release_name: Release ${{ env.VERSION }} - body: ${{ steps.read-changelog.outputs.stdout }} + body_path: ${{github.workspace}}/doc/changelog.txt draft: true prerelease: false