From 45ec251325c40fa5b22032cde6c02a6fd86ee3ca Mon Sep 17 00:00:00 2001 From: Raunak Bhagat Date: Fri, 22 Nov 2024 17:54:32 -0800 Subject: [PATCH] Add tag to always run tear-down step - will always run, even if the previous steps fail --- .github/workflows/run-cluster.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run-cluster.yaml b/.github/workflows/run-cluster.yaml index c22be58679..783ec0137f 100644 --- a/.github/workflows/run-cluster.yaml +++ b/.github/workflows/run-cluster.yaml @@ -67,6 +67,7 @@ jobs: source .venv/bin/activate ray job submit --address http://localhost:8265 -- python -c "print('Hello, world!')" - name: Spin down ray cluster + if: always() run: | source .venv/bin/activate ray down .github/assets/benchmarking_ray_config.yaml -y