Skip to content

Commit a523496

Browse files
committed
Update file(s) from wp-cli/.github
1 parent c0e0245 commit a523496

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/code-quality.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ jobs:
1717
with:
1818
files: "composer.json"
1919

20-
- name: Set up PHP envirnoment
20+
- name: Set up PHP environment
21+
if: steps.check_composer_file.outputs.files_exists == 'true'
2122
uses: shivammathur/setup-php@v2
2223
with:
2324
php-version: '7.4'
2425
tools: cs2pr
2526

26-
- name: Get Composer cache Directory
27+
- name: Get Composer cache directory
2728
if: steps.check_composer_file.outputs.files_exists == 'true'
2829
id: composer-cache
2930
run: |
@@ -66,13 +67,14 @@ jobs:
6667
with:
6768
files: "composer.json, phpcs.xml.dist"
6869

69-
- name: Set up PHP envirnoment
70+
- name: Set up PHP environment
71+
if: steps.check_files.outputs.files_exists == 'true'
7072
uses: shivammathur/setup-php@v2
7173
with:
7274
php-version: '7.4'
7375
tools: cs2pr
7476

75-
- name: Get Composer cache Directory
77+
- name: Get Composer cache directory
7678
if: steps.check_files.outputs.files_exists == 'true'
7779
id: composer-cache
7880
run: |

0 commit comments

Comments
 (0)