Skip to content

Commit

Permalink
Move scratch deletion to the end
Browse files Browse the repository at this point in the history
  • Loading branch information
jlantz committed Oct 11, 2024
1 parent 4a2a50e commit 1b2cfa1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/feature-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ jobs:
name: cci-dependencies-history
path: cci_dependencies_history.json

- name: Delete Scratch Org
if: always()
run: cci org scratch_delete ${{ inputs.org }}
shell: bash

- name: Upload CumulusCI Build History
if: always()
uses: actions/upload-artifact@v4
with:
name: cci-build-history
path: cci_build_history.json

- name: Delete Scratch Org
if: always()
run: cci org scratch_delete ${{ inputs.org }}
shell: bash
11 changes: 6 additions & 5 deletions .github/workflows/snapshot-flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,15 @@ jobs:
name: cci-dependencies-history
path: cci_dependencies_history.json

- name: Delete Scratch Org
if: ${{ always() }}
run: |
cci org scratch_delete ${{ inputs.org_name }}
shell: bash
- name: Upload CumulusCI Build History
if: always()
uses: actions/upload-artifact@v4
with:
name: cci-build-history
path: cci_build_history.json

- name: Delete Scratch Org
if: ${{ always() }}
run: |
cci org scratch_delete ${{ inputs.org_name }}
shell: bash

0 comments on commit 1b2cfa1

Please sign in to comment.