File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8181 STACKABLE_SLUG : Stackable/plugin
8282 run : npm run test
8383 - uses : actions/upload-artifact@v4
84- if : ${{ steps.run-playwright-tests.outcome == 'failure' }}
84+ if : ${{ !cancelled() && steps.run-playwright-tests.outcome == 'failure' }}
8585 id : artifact-upload-step
8686 with :
8787 name : playwright-report-php_${{ matrix.php_version }}-wp_${{ env.WP_VERSION }}-${{ env.VERSION_SUFFIX }}
@@ -90,11 +90,11 @@ jobs:
9090 retention-days : 30
9191 - uses : markpatterson27/markdown-to-output@v1
9292 id : mto
93- if : ${{ steps.run-playwright-tests.outcome == 'failure' }}
93+ if : ${{ !cancelled() && steps.run-playwright-tests.outcome == 'failure' }}
9494 with :
9595 filepath : ./playwright-stk/errors.md
9696 - name : Add test results to summary
97- if : ${{ steps.run-playwright-tests.outcome == 'failure' }}
97+ if : ${{ !cancelled() && steps.run-playwright-tests.outcome == 'failure' }}
9898 run : |
9999 echo "### Results for PHP ${{ matrix.php_version }} and WP ${{ matrix.wp_version || 'latest' }}" >> $GITHUB_STEP_SUMMARY
100100 echo "${{ steps.mto.outputs.body }}" >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments