Skip to content

Commit 6ef2571

Browse files
authored
Fix disposal of VMs (#18233)
1 parent ad21ecb commit 6ef2571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/remove_runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
exit 0
3030
fi
3131
32+
gcloud auth activate-service-account --key-file ${{ steps.auth.outputs.credentials_file_path }}
3233
if [ -z "$(gcloud compute instances list | grep "${{ inputs.runner-label }}")" ]; then
3334
// vm is gone
3435
exit 0
3536
fi
3637
37-
gcloud auth activate-service-account --key-file "${{ steps.auth.outputs.credentials_file_path }}"
3838
gcloud compute instances delete ${{ inputs.runner-label }} --quiet --zone europe-west1-b

0 commit comments

Comments
 (0)