From fbf7dabb45003e36ab1e394bd4c2bf3229c59346 Mon Sep 17 00:00:00 2001 From: Jason Lantz Date: Fri, 9 Aug 2024 14:12:00 -0500 Subject: [PATCH] Update feature-test.yml --- .github/workflows/feature-test.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/feature-test.yml b/.github/workflows/feature-test.yml index 4f86007..f089819 100644 --- a/.github/workflows/feature-test.yml +++ b/.github/workflows/feature-test.yml @@ -2,6 +2,10 @@ name: 2GP Feature Test on: workflow_call: + inputs: + org: + type: string + default: feature secrets: # Either dev-hub-auth-url or dev-hub-username, dev-hub-client-id, and dev-hub-private-key are required dev-hub-auth-url: @@ -38,12 +42,12 @@ jobs: uses: actions/checkout@v2 - name: Auth to DevHub run: /usr/local/bin/devhub.sh - - name: Set feature org as default org - run: cci org default feature + - name: Set ${{ inputs.org }} org as default org + run: cci org default ${{ inputs.org }} - name: Run Feature Test run: cci flow run ci_feature - name: Delete Scratch Org if: ${{ always() }} run: | - cci org scratch_delete feature - shell: bash \ No newline at end of file + cci org scratch_delete ${{ inputs.org }} + shell: bash