From 2da1c2c992006288368448ceb128d14c7795e1c4 Mon Sep 17 00:00:00 2001 From: stertooy <5571903+stertooy@users.noreply.github.com> Date: Wed, 11 Feb 2026 15:22:12 +0100 Subject: [PATCH] Add a BODY.md file containing the release's body text to the assets when doing a dry run --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index 06f99f4..6a9b23d 100644 --- a/action.yml +++ b/action.yml @@ -226,6 +226,11 @@ runs: files: ${{ env.ASSETS }}/* target_commitish: ${{ github.sha }} + - name: "Copy body-text" + if: ${{ inputs.dry-run == 'true' }} + shell: bash + run: echo "${{ inputs.body-text }}" > $ASSETS/BODY.md + - name: "Upload the release" uses: actions/upload-artifact@v5 if: ${{ inputs.dry-run == 'true' }}