From 22413aa70a0785c5a9c32bc4bf1cf9eb3ecdc7ba Mon Sep 17 00:00:00 2001 From: akshayp7 Date: Sat, 24 Feb 2024 19:22:53 +0530 Subject: [PATCH] ChangedGithubActions --- .github/workflows/playwright.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 83c91dc..c6c1cd6 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -53,4 +53,11 @@ jobs: - name: Zip HTML report run: zip -r html-report.zip html-report # This step should always run, even if previous steps fail + if: always() + + - name: Send email with zip report + run: | + echo "Sending email with Playwright html zip report" + echo "Playwright Test Case Report" | mail -s "Subject: Playwright Test Report" -A html-report.zip codendeavor@gmail.com + # This step should only run if the previous steps were successful if: always() \ No newline at end of file