mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
Flatten uploaded images
This commit is contained in:
parent
658af081ee
commit
4ce5d07125
32
.github/workflows/e2e.yml
vendored
32
.github/workflows/e2e.yml
vendored
@ -113,19 +113,19 @@ jobs:
|
|||||||
needs: e2e
|
needs: e2e
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download All Artifacts
|
- name: Download All Artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: snapshots
|
path: snapshots
|
||||||
pattern: error-snapshots-*
|
pattern: error-snapshots-*
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
- run: |
|
- run: |
|
||||||
mkdir errors
|
mkdir errors
|
||||||
cd snapshots
|
cd snapshots
|
||||||
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
|
||||||
with:
|
with:
|
||||||
name: error-snapshots
|
name: error-snapshots
|
||||||
retention-days: 10
|
retention-days: 10
|
||||||
path: errors/
|
path: errors/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user