Update release-nexusmods.yml

master
Vitalii Mikhailov 1 year ago committed by GitHub
parent d8bf127e74
commit 326df28410
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -20,6 +20,10 @@ on:
required: false
type: string
default: ''
mod_description_full:
required: false
type: boolean
default: true
artifact_name:
required: true
type: string
@ -88,7 +92,7 @@ jobs:
run: |
if ${{ inputs.mod_description == '' }}
then
desc="$(bannerlord_changelog_parser fulldescription -f "$PWD/changelog.txt")"
desc="$(bannerlord_changelog_parser ${{ inputs.mod_description_full && 'fulldescription' || 'description }}' -f "$PWD/changelog.txt")"
desc="${desc//'%'/'%25'}"
desc="${desc//$'"'/'%22'}"
desc="${desc//$'\n'/'%0A'}"

Loading…
Cancel
Save