Skip to content

Commit

Permalink
Update feature-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jlantz authored Aug 9, 2024
1 parent 41ea985 commit fbf7dab
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/feature-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
cci org scratch_delete ${{ inputs.org }}
shell: bash

0 comments on commit fbf7dab

Please sign in to comment.