Skip to content

Commit 9d4dd89

Browse files
committed
Get action results even on fail.
1 parent 30fc015 commit 9d4dd89

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/wpcs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
run: vendor/bin/phpcs --standard=WordPress --extensions=php,js --ignore=.git/*,.github/*,node_modules/* --report=json --report-file=phpcs.json .
2525

2626
- name: Update summary
27-
if: success() && hashFiles('phpcs.json') != ''
27+
if: always() && hashFiles('phpcs.json') != ''
2828
run: |
29-
npm i -g github:10up/phpcs-json-to-md
30-
phpcs-json-to-md --path ./phpcs.json --output ./phpcs.md
31-
cat phpcs.md >> $GITHUB_STEP_SUMMARY
29+
npm i -g github:10up/phpcs-json-to-md
30+
phpcs-json-to-md --path ./phpcs.json --output ./phpcs.md
31+
cat phpcs.md >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)