From b4699452f78ecf4fc2ae0495b7cec41a6a55e086 Mon Sep 17 00:00:00 2001 From: KornevNikita Date: Thu, 12 Dec 2024 01:37:18 -0800 Subject: [PATCH] [CI] Avoid running redundant cuda-aws-stop I noticed that this job runs in my local fork, although needed steps were skipped. --- .github/workflows/sycl-nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sycl-nightly.yml b/.github/workflows/sycl-nightly.yml index fa648b0395189..74129a444d2c7 100644 --- a/.github/workflows/sycl-nightly.yml +++ b/.github/workflows/sycl-nightly.yml @@ -168,7 +168,7 @@ jobs: cuda-aws-stop: needs: [cuda-aws-start, cuda-run-tests] - if: always() + if: always() && ${{ needs.cuda-aws-start.result != 'skipped' }} uses: ./.github/workflows/sycl-aws.yml secrets: inherit with: