Try to escape build info values

Currently the action fails with a `line 1: syntax error near unexpected token `('` error.
Just because our build name is like this: `Spring AMQP - Main (2.3.x) - Default Job`

See more info in this SO: https://stackoverflow.com/questions/61795201/github-action-failed-syntax-error-near-unexpected-token

* Wrap `Build Name` value into double quote
in attempt to avoid unexpected token error
This commit is contained in:
Artem Bilan
2021-05-17 13:11:38 -04:00
committed by GitHub
parent 257579909d
commit cc0323a8c4

View File

@@ -28,7 +28,7 @@ jobs:
# Extract build id from input
- name: Extract Build Id
run: |
echo JFROG_CLI_BUILD_NAME=${{ github.event.inputs.buildName }} >> $GITHUB_ENV
echo JFROG_CLI_BUILD_NAME="${{ github.event.inputs.buildName }}" >> $GITHUB_ENV
echo JFROG_CLI_BUILD_NUMBER=${{ github.event.inputs.buildNumber }} >> $GITHUB_ENV
# Download released files