Notify users

This commit is contained in:
Sidharth Vinod 2024-01-19 15:30:18 +05:30
parent 4ce5d07125
commit f58a86d747
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
1 changed files with 6 additions and 0 deletions

View File

@ -111,6 +111,7 @@ jobs:
combineArtifacts:
needs: e2e
if: ${{ failure() }}
runs-on: ubuntu-latest
steps:
- name: Download All Artifacts
@ -125,7 +126,12 @@ jobs:
find . -mindepth 2 -type f -print -exec mv {} ../errors/ \;
- name: Upload Artifacts
uses: actions/upload-artifact@v4
id: upload-artifacts
with:
name: error-snapshots
retention-days: 10
path: errors/
- name: Notify Users
run: |
echo "::error,title=Visual tests failed::You can view images that failed by downloading the error-snapshots artifact: ${{ steps.upload-artifacts.outputs.artifact-url }}"