diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e3d25ff..5e1d1a8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,7 +62,7 @@ jobs: - name: Push source run: | sfdx force:source:push \ - --targetusername=scratch-org + --targetusername=scratch-org \ --forceoverwrite - name: Run Apex tests run: | @@ -73,6 +73,7 @@ jobs: --resultformat=human \ --outputdir=coverage - name: Delete scratch org + if: always() run: | sfdx force:org:delete \ --targetusername=scratch-org \