Skip to content

Commit

Permalink
chore: save
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Apr 1, 2024
1 parent 39905dc commit f0d24d3
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions .github/workflows/screenshot_capture.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,39 @@ jobs:
uses: actions/upload-artifact@v4
id: screenshots
with:
name: "snapshots"
name: snapshots-${{ matrix.shardIndex }}
path: |
screenshots/
if-no-files-found: error
retention-days: 3
retention-days: 1

merge-snapshots:
name: Merge Snapshots
runs-on: ubuntu-latest
needs: [visual-snapshots]
steps:

- name: Check out repository code
uses: actions/checkout@v4

- name: Download blob reports from GitHub Actions Artifacts
uses: actions/download-artifact@v4
with:
path: snapshots
pattern: snapshots-*
merge-multiple: true

- name: Merge Snapshots
run: |
ls -ll
ls -ll snapshots
- name: Upload Screenshots
uses: actions/upload-artifact@v4
id: screenshots
with:
name: "snapshots"
path: |
snapshots/
if-no-files-found: error
retention-days: 3

0 comments on commit f0d24d3

Please sign in to comment.