name: e2e test cleanup description: "Clean up existing resource in the e2e-test resource group on Azure" runs: using: "composite" steps: - name: cleanup shell: bash --noprofile --norc -e {0} run: | resources="$(az resource list --resource-group "e2e-test" | grep \"id\" | awk -F \" '{print $4}')" for id in $resources; do az resource delete --resource-group "e2e-test" --ids "$id" --verbose; done