Strip whitespace from inputs

This commit is contained in:
object-Object 2023-09-24 21:26:49 -04:00
parent a7bcc738ab
commit 419d7d283d

View file

@ -55,12 +55,12 @@ jobs:
with:
checkout: ${{ github.event_name == 'workflow_dispatch' && inputs.branch != '(same as workflow)' }}
branch: ${{ inputs.branch }}
publish-latest-and-root: |
publish-latest-and-root: |-
${{
github.event_name != 'workflow_dispatch'
|| inputs.update-latest
}}
publish-release: |
publish-release: |-
${{
github.event_name == 'workflow_dispatch' && inputs.release
|| startsWith(github.event.head_commit.message, '[Release]')