From d7ffea1bee95199fb9a4bfb697c803374e1a86f2 Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Sun, 16 Jun 2024 09:41:26 -0400 Subject: [PATCH] debugging --- .github/workflows/daily_tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/daily_tests.yml b/.github/workflows/daily_tests.yml index 8548c0dc0..f482ae58d 100644 --- a/.github/workflows/daily_tests.yml +++ b/.github/workflows/daily_tests.yml @@ -39,7 +39,8 @@ jobs: NotifyOnAnyFailure: runs-on: ubuntu-latest needs: [DevTests, LiveServices, BuildTests, ExampleDataCache, ExampleDataTests] - if: ${{ (needs.DevTests.result == 'failure') || (needs.LiveServices.result == 'failure') || (needs.BuildTests.result == 'failure') || (needs.ExampleDataCache.result == 'failure') || (needs.ExampleDataTests.result == 'failure') }} + # Needs 'always()' to trigger after a failure in 'needs' + if: always() && (${{ (needs.DevTests.result == 'failure') || (needs.LiveServices.result == 'failure') || (needs.BuildTests.result == 'failure') || (needs.ExampleDataCache.result == 'failure') || (needs.ExampleDataTests.result == 'failure') }}) steps: - uses: dawidd6/action-send-mail@v3 with: