File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,16 @@ jobs:
3030 run : |
3131 RUN_ID=`gh run --repo $GITHUB_REPOSITORY --branch main list --workflow "Visual Regressions" --json databaseId --jq .[0].databaseId`
3232 echo "Downloading snapshots created in run ${RUN_ID}"
33- gh run --repo $GITHUB_REPOSITORY download ${RUN_ID} -n "visual-regression-snapshots" -D ${{ env.VISUAL_REGRESSION_SNAPSHOT_DIRECTORY }}
33+ gh run --repo $GITHUB_REPOSITORY download ${RUN_ID} -p "visual-regression-snapshots-* " -D ${{ env.VISUAL_REGRESSION_SNAPSHOT_DIRECTORY }}
3434 env :
3535 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3636 - run : npm install
3737 - run : npm run build
3838 - run : npm run test:visual
39- - uses : actions/upload-artifact@v3
39+ - uses : actions/upload-artifact@v4
4040 if : always()
4141 with :
42- name : visual-regression-snapshots-results
42+ name : visual-regression-snapshots-results-${{ github.sha }}
4343 path : ${{ env.VISUAL_REGRESSION_SNAPSHOT_DIRECTORY }}
4444 update :
4545 name : Update Snapshots
5454 - run : npm install
5555 - run : npm run build
5656 - run : npm run test:visual:update
57- - uses : actions/upload-artifact@v3
57+ - uses : actions/upload-artifact@v4
5858 with :
59- name : visual-regression-snapshots
59+ name : visual-regression-snapshots-${{ github.sha }}
6060 path : ${{ env.VISUAL_REGRESSION_SNAPSHOT_DIRECTORY }}
You can’t perform that action at this time.
0 commit comments