Skip to content

Commit 5deba0b

Browse files
Boegiemglaman
andauthored
Replace set-output commands (#567)
Co-authored-by: Matt Glaman <[email protected]>
1 parent 28ea645 commit 5deba0b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/php.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ jobs:
119119
- name: "set the version alias for self"
120120
run: |
121121
if [ "${{ github.event_name }}" == 'pull_request' ]; then
122-
echo ::set-output name=VERSION_ALIAS::dev-"${{ github.sha }}"
122+
echo "VERSION_ALIAS=dev-"${{ github.sha }}"" >> $GITHUB_OUTPUT
123123
else
124-
echo ::set-output name=VERSION_ALIAS::dev-main
124+
echo "VERSION_ALIAS=dev-main" >> $GITHUB_OUTPUT
125125
fi
126126
id: branch_alias
127127
- name: "require phpstan-drupal"
@@ -220,9 +220,9 @@ jobs:
220220
- name: "set the version alias for self"
221221
run: |
222222
if [ "${{ github.event_name }}" == 'pull_request' ]; then
223-
echo ::set-output name=VERSION_ALIAS::dev-"${{ github.sha }}"
223+
echo "VERSION_ALIAS=dev-"${{ github.sha }}"" >> $GITHUB_OUTPUT
224224
else
225-
echo ::set-output name=VERSION_ALIAS::dev-main
225+
echo "VERSION_ALIAS=dev-main" >> $GITHUB_OUTPUT
226226
fi
227227
id: branch_alias
228228
- name: determine phpstan cache directory

0 commit comments

Comments
 (0)