Skip to content

Commit b6ea84d

Browse files
Actions: store reports on failure not success only (#1096)
1 parent eebe853 commit b6ea84d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- run: npm run test:e2e:headless
5353
if: env.STAGE == 'REVIEW' || env.STAGE == 'STAGING'
5454
- name: Store reports
55-
if: env.STAGE == 'REVIEW' || env.STAGE == 'STAGING'
55+
if: (env.STAGE == 'REVIEW' || env.STAGE == 'STAGING') && failure()
5656
uses: actions/upload-artifact@v3
5757
with:
5858
name: reports

0 commit comments

Comments
 (0)