Skip to content

Commit

Permalink
Simplify "cci org scratch_delete"
Browse files Browse the repository at this point in the history
  • Loading branch information
RupertBarrow authored Jun 5, 2023
1 parent 5e6f8f8 commit 828ed15
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ runs:

- name: Delete Scratch Org
if: ${{ always() }}
continue-on-error: true
shell: bash
run: |
is_scratch=`cci org info --org ${{ inputs.org-name }} --json | jq .is_scratch`
if [ $is_scratch ]; then
cci org scratch_delete ${{ inputs.org-name }}
fi
run: cci org scratch_delete ${{ inputs.org-name }}

0 comments on commit 828ed15

Please sign in to comment.