Skip to content

Commit

Permalink
trying to validate yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagonnascimento committed Dec 6, 2023
1 parent 27d057a commit 771f241
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sandboxResumeCreation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ jobs:

- name: Creating User record
id: createUser
run: echo "USER_CREATE_RESULT=$(curl ${{ fromJson(steps.orgInfo.outputs.ORG_INFO).result.instanceUrl }}/services/data/v59.0/sobjects/User/ -H \"Authorization Bearer ${{ fromJson(steps.orgInfo.outputs.ORG_INFO).result.accessToken }}\" -H \"Content-Type: application/json\" -X POST -d \"{''Username'': ${{ inputs.username }},''FirstName'':''Sandbox'',''LastName'':''Owner'',''Email'': ${{ inputs.email }} ,''Alias'':''sbxown'',''TimeZoneSidKey'':''America/Sao_Paulo'',''LocaleSidKey'':''pt_BR'',''EmailEncodingKey'':''UTF-8'',''ProfileId'':''00eHp000002OQMuIAO'',''LanguageLocaleKey'':''en_US''}\")"
run: |
echo "USER_CREATE_RESULT=$(curl ${{ fromJson(steps.orgInfo.outputs.ORG_INFO).result.instanceUrl }}/services/data/v59.0/sobjects/User/ -H 'Authorization Bearer ${{ fromJson(steps.orgInfo.outputs.ORG_INFO).result.accessToken }}' -H 'Content-Type: application/json\' -X POST)"
- name: Post creation steps
if: github.event.inputs.buildfile != ''
Expand Down

0 comments on commit 771f241

Please sign in to comment.