Skip to content

Commit

Permalink
try flattening
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD authored Jun 14, 2024
1 parent 863fb90 commit e0257bf
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/daily_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,7 @@ jobs:
needs: [DevTests, LiveServices, BuildTests, ExampleDataCache, ExampleDataTests]
if: |
${{
always() && (
needs.DevTests.result == 'failure'
|| needs.LiveServices.result == 'failure'
|| needs.BuildTests.result == 'failure'
|| needs.ExampleDataCache.result == 'failure'
|| needs.ExampleDataTests.result == 'failure'
)
always() && (needs.DevTests.result == 'failure' || needs.LiveServices.result == 'failure' || needs.BuildTests.result == 'failure' || needs.ExampleDataCache.result == 'failure' || needs.ExampleDataTests.result == 'failure')
}}
steps:
- name: Printout which failed
Expand All @@ -58,14 +52,7 @@ jobs:
echo "ExampleDataCache: ${{ needs.ExampleDataCache.result }}"
echo "ExampleDataTests: ${{ needs.ExampleDataTests.result }}"
- name: Printout logic trigger
run: |
(
needs.DevTests.result == 'failure'
|| needs.LiveServices.result == 'failure'
|| needs.BuildTests.result == 'failure'
|| needs.ExampleDataCache.result == 'failure'
|| needs.ExampleDataTests.result == 'failure'
)
run: ${{ needs.DevTests.result }} == 'failure' || ${{ needs.LiveServices.result }} == 'failure' || ${{ needs.BuildTests.result }} == 'failure' || ${{ needs.ExampleDataCache.result }} == 'failure' || ${{ needs.ExampleDataTests.result }} == 'failure'
- uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.gmail.com
Expand Down

0 comments on commit e0257bf

Please sign in to comment.