From cc4b0d9201ad6b41e22fc87602df006a3b48dd99 Mon Sep 17 00:00:00 2001 From: tnascimento Date: Tue, 5 Dec 2023 21:48:44 -0300 Subject: [PATCH] working on syntax --- .github/workflows/sandboxResumeCreation.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sandboxResumeCreation.yml b/.github/workflows/sandboxResumeCreation.yml index 13cbb02..18270fa 100644 --- a/.github/workflows/sandboxResumeCreation.yml +++ b/.github/workflows/sandboxResumeCreation.yml @@ -66,17 +66,14 @@ jobs: id: getOrgInfo run: | echo ORG_INFO_RESULT="$(sf org display --target-org ${{ vars.USERNAME }}.${{ inputs.sandboxName }} --json)" - ORG_INFO_RESULT="${ORG_INFO_RESULT//'%'/'%25'}" - ORG_INFO_RESULT="${ORG_INFO_RESULT//$'\n'/'%0A'}" - ORG_INFO_RESULT="${ORG_INFO_RESULT//$'\r'/'%0D'}" + echo ORG_INFO_RESULT="${ORG_INFO_RESULT//'%'/'%25'}" + echo ORG_INFO_RESULT="${ORG_INFO_RESULT//$'\n'/'%0A'}" + echo ORG_INFO_RESULT="${ORG_INFO_RESULT//$'\r'/'%0D'}" - name: Getting Profile Id id: getProfileId run: | echo PROFILE_ID_RESULT="$(curl ${{ fromJson(steps.getOrgInfo.outputs.ORG_INFO_RESULT).result.instanceUrl }}/services/data/v58.0/query?q=SELECT+Id+FROM+Profile+WHERE+Name='System+Administrator' -H 'Authorization Bearer ${{ fromJson(steps.getOrgInfo.outputs.ORG_INFO_RESULT).result.accessToken }}' -H 'Content-Type: application/json\')" - PROFILE_ID_RESULT="${PROFILE_ID_RESULT//'%'/'%25'}" - PROFILE_ID_RESULT="${PROFILE_ID_RESULT//$'\n'/'%0A'}" - PROFILE_ID_RESULT="${PROFILE_ID_RESULT//$'\r'/'%0D'}" - name: Creating User record id: createUser