Skip to content

Commit

Permalink
Prevent whitelines in base64 encoding
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Franssen <marco.franssen@philips.com>
  • Loading branch information
marcofranssen committed Dec 24, 2021
1 parent 7e2ee54 commit 0a8c490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ runs:
id: compose-args
shell: bash
run: |
encoded_github="$(echo '${{ inputs.github_context }}' | base64)"
encoded_runner="$(echo '${{ inputs.runner_context }}' | base64)"
encoded_github="$(echo '${{ inputs.github_context }}' | base64 -w 0)"
encoded_runner="$(echo '${{ inputs.runner_context }}' | base64 -w 0)"
args=(${{ inputs.command }})
args+=(${{ inputs.subcommand }})
Expand Down

0 comments on commit 0a8c490

Please sign in to comment.