diff --git a/action.yml b/action.yml index a9c31e3..e61fa6b 100644 --- a/action.yml +++ b/action.yml @@ -29,17 +29,17 @@ runs: curl --location --request POST '${{ inputs.url }}/app/rest/buildQueue' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer ${{ inputs.token }}' \ - --data-raw '{ - "branchName": "${{ inputs.version }}", - "buildType": { - "id": "$id" + --data-raw "{ + \"branchName\": \"${{ inputs.version }}\", + \"buildType\": { + \"id\": \"$id\" }, - "properties": { - "property": [{ - "name": "env.Version", - "value": "${{ inputs.version }}" + \"properties\": { + \"property\": [{ + \"name\": \"env.Version\", + \"value\": \"${{ inputs.version }}\" } ] } - }' + }" done \ No newline at end of file