From 1312a95bd6b191f8cbe21aa8b630d37d579b79fd Mon Sep 17 00:00:00 2001 From: zhihaoguo Date: Mon, 1 Apr 2024 11:26:29 +0800 Subject: [PATCH] Add 'if: always()' condition for deleting resource group. --- .github/workflows/testWlsVmAdmin.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/testWlsVmAdmin.yml b/.github/workflows/testWlsVmAdmin.yml index 38292562f..721327dd3 100644 --- a/.github/workflows/testWlsVmAdmin.yml +++ b/.github/workflows/testWlsVmAdmin.yml @@ -465,6 +465,7 @@ jobs: --template-file ${artifactName}/nestedtemplates/elkNestedTemplate.json - name: Delete Resource Group id: delete-resource-group + if: always() run: | echo "delete... " $resourceGroup az group delete --yes --no-wait --verbose --name $resourceGroup