Flatten uploaded images

This commit is contained in:
Sidharth Vinod 2024-01-19 14:46:21 +05:30
parent 658af081ee
commit 4ce5d07125
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD

View File

@ -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/