mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 14:29:25 +02:00
Notify users
This commit is contained in:
6
.github/workflows/e2e.yml
vendored
6
.github/workflows/e2e.yml
vendored
@@ -111,6 +111,7 @@ jobs:
|
|||||||
|
|
||||||
combineArtifacts:
|
combineArtifacts:
|
||||||
needs: e2e
|
needs: e2e
|
||||||
|
if: ${{ failure() }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download All Artifacts
|
- name: Download All Artifacts
|
||||||
@@ -125,7 +126,12 @@ jobs:
|
|||||||
find . -mindepth 2 -type f -print -exec mv {} ../errors/ \;
|
find . -mindepth 2 -type f -print -exec mv {} ../errors/ \;
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
id: upload-artifacts
|
||||||
with:
|
with:
|
||||||
name: error-snapshots
|
name: error-snapshots
|
||||||
retention-days: 10
|
retention-days: 10
|
||||||
path: errors/
|
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 }}"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user