From e78dbb6ff2fe3f96fb9a40040d42453410032ce8 Mon Sep 17 00:00:00 2001 From: RupertBarrow Date: Fri, 16 Jun 2023 17:00:53 +0200 Subject: [PATCH] ci: added debug --- action-command/action.yml | 5 ----- action-populate-repo-from-salesforce/action.yml | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/action-command/action.yml b/action-command/action.yml index bc0832d..9c41b42 100644 --- a/action-command/action.yml +++ b/action-command/action.yml @@ -26,10 +26,6 @@ inputs: salesforce_sfdx_auth_url: description: Salesforce SFDX auth URL required: false - debug: - description: Debug command by asking "set -x" to shell - default: false - required: false # command command: @@ -78,5 +74,4 @@ runs: - name: Run command ${{ inputs.command }} shell: bash run: | - if [ ${{ inputs.debug }} ]; then set -x; fi ${{ inputs.command }} diff --git a/action-populate-repo-from-salesforce/action.yml b/action-populate-repo-from-salesforce/action.yml index 570f89a..68198b4 100644 --- a/action-populate-repo-from-salesforce/action.yml +++ b/action-populate-repo-from-salesforce/action.yml @@ -51,7 +51,7 @@ runs: if: ${{ ! inputs.package_xml }} with: salesforce_sfdx_auth_url: "${{ inputs.salesforce_sfdx_auth_url }}" - command: sfdx force:source:manifest:create --from-org=checkout --output-dir manifest -n package-snapshot-fromorg.xml && sfdx project retrieve start -x manifest/package-snapshot-fromorg.xml -w ${{ inputs.timeout }} + command: set -x && sfdx force:source:manifest:create --from-org=checkout --output-dir manifest -n package-snapshot-fromorg.xml && sfdx project retrieve start -x manifest/package-snapshot-fromorg.xml -w ${{ inputs.timeout }} #- uses: RupertBarrow/actions/action-command@v3 # if: ${{ ! inputs.package_xml }} # with: @@ -65,7 +65,7 @@ runs: with: salesforce_sfdx_auth_url: "${{ inputs.salesforce_sfdx_auth_url }}" #command: sfdx force:source:retrieve -x ${{ inputs.package_xml }} -w ${{ inputs.timeout }} - command: sfdx project retrieve start -x ${{ inputs.package_xml }} -w ${{ inputs.timeout }} + command: set -x && sfdx project retrieve start -x ${{ inputs.package_xml }} -w ${{ inputs.timeout }} - name: Prettify code shell: bash