Skip to content

Commit

Permalink
ci(end to end): Upload artifact only on failure [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Nov 7, 2024
1 parent 986b01a commit cf9e25d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/end-to-end-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:

- name: Keep Playwright report
uses: actions/upload-artifact@v4
if: always()
if: failure()
with:
name: playwright-report-${{ matrix.php-version }}-${{ matrix.m2-version }}
path: my-own-modules/${{ env.EXTENSION_PATH }}/Test/EndToEnd/playwright-report/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php-sdk-development-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ jobs:

- name: Keep Playwright report
uses: actions/upload-artifact@v4
if: always()
if: failure()
with:
name: playwright-report-${{ matrix.php-version }}-${{ matrix.m2-version }}
path: ${{ env.EXTENSION_PATH }}/Test/EndToEnd/playwright-report/
Expand Down

0 comments on commit cf9e25d

Please sign in to comment.