Bugfix: body_path was ignored because of default body.

This commit is contained in:
Carsten Schumann
2025-10-20 11:59:36 +02:00
committed by GitHub
parent 05b1004877
commit 9ca8dcac95

View File

@ -1,7 +1,7 @@
--- ---
name: gitea-release-action name: gitea-release-action
description: "An action to support publishing release to Gitea." description: "An action to support publishing release to Gitea."
author: "Akkuman" author: "Grypho"
inputs: inputs:
server_url: server_url:
description: the base url of the gitea API description: the base url of the gitea API
@ -10,7 +10,7 @@ inputs:
body: body:
description: "Note-worthy description of changes in release" description: "Note-worthy description of changes in release"
required: false required: false
default: ${{ github.release.body }} default: ${{ github.release.body != '' && github.release.body || null }}
body_path: body_path:
description: "Path to load description of changes in this release" description: "Path to load description of changes in this release"
required: false required: false