Skip to content

Commit 5972029

Browse files
authored
Merge pull request #724 from Automattic/feature/ghactions-dont-use-set-output
2 parents eeb28f0 + 49395a5 commit 5972029

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/quicktest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ jobs:
5454
id: set_ini
5555
run: |
5656
if [[ "${{ matrix.phpcs_version }}" != "dev-master" ]]; then
57-
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED'
57+
echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED' >> $GITHUB_OUTPUT
5858
elif [[ "${{ matrix.php }}" == "latest" ]]; then
59-
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED'
59+
echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED' >> $GITHUB_OUTPUT
6060
else
61-
echo '::set-output name=PHP_INI::error_reporting=-1'
61+
echo 'PHP_INI=error_reporting=-1' >> $GITHUB_OUTPUT
6262
fi
6363
6464
- name: Install PHP

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ jobs:
116116
id: set_ini
117117
run: |
118118
if [[ "${{ matrix.phpcs_version }}" != "dev-master" ]]; then
119-
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED'
119+
echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED' >> $GITHUB_OUTPUT
120120
elif [[ "${{ matrix.php }}" == "8.1" ]]; then
121-
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED'
121+
echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED' >> $GITHUB_OUTPUT
122122
else
123-
echo '::set-output name=PHP_INI::error_reporting=-1'
123+
echo 'PHP_INI=error_reporting=-1' >> $GITHUB_OUTPUT
124124
fi
125125
126126
- name: Install PHP

0 commit comments

Comments
 (0)