File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -153,14 +153,19 @@ jobs:
153153 - name : Build the external project (where the NUTs are)
154154 run : yarn compile
155155
156+ - name : Set optional sf executable path
157+ if : inputs.sfdxExecutablePath
158+ run : echo "TESTKIT_EXECUTABLE_PATH=$INPUTS_SF_EXECUTABLE_PATH" >> $GITHUB_ENV
159+ env :
160+ INPUTS_SF_EXECUTABLE_PATH : ${{ inputs.sfdxExecutablePath }}
161+
156162 - name : NUTs with ${{ inputs.attempts }} attempts
157163 uses : salesforcecli/github-workflows/.github/actions/retry@main
158164 with :
159165 max_attempts : ${{ inputs.attempts }}
160166 command : ${{ inputs.command }}
161167 retry_on : error
162168 env :
163- TESTKIT_EXECUTABLE_PATH : ${{ inputs.sfdxExecutablePath }}
164169 SF_DISABLE_TELEMETRY : true
165170 TESTKIT_AUTH_URL : ${{ secrets.TESTKIT_AUTH_URL }}
166171 TESTKIT_HUB_USERNAME : ${{ secrets.TESTKIT_HUB_USERNAME }}
Original file line number Diff line number Diff line change @@ -99,14 +99,19 @@ jobs:
9999 - run : yarn oclif manifest
100100 if : ${{ steps.is-oclif-plugin.outputs.bool == 'true' }}
101101
102+ - name : Set optional sf executable path
103+ if : inputs.sfdxExecutablePath
104+ run : echo "TESTKIT_EXECUTABLE_PATH=$INPUTS_SF_EXECUTABLE_PATH" >> $GITHUB_ENV
105+ env :
106+ INPUTS_SF_EXECUTABLE_PATH : ${{ inputs.sfdxExecutablePath }}
107+
102108 - name : NUTs with ${{ inputs.retries }} attempts
103109 uses : salesforcecli/github-workflows/.github/actions/retry@main
104110 with :
105111 max_attempts : ${{ inputs.retries }}
106112 command : ${{ inputs.command }}
107113 retry_on : error
108114 env :
109- TESTKIT_EXECUTABLE_PATH : ${{ inputs.sfdxExecutablePath }}
110115 TESTKIT_AUTH_URL : ${{ secrets.TESTKIT_AUTH_URL}}
111116 TESTKIT_HUB_USERNAME : ${{ secrets.TESTKIT_HUB_USERNAME }}
112117 TESTKIT_JWT_CLIENT_ID : ${{ secrets.TESTKIT_JWT_CLIENT_ID }}
You can’t perform that action at this time.
0 commit comments