Skip to content

Commit 34ebdad

Browse files
committed
Fix set-output deprecations
1 parent a873aad commit 34ebdad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

action.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ runs:
5757
###
5858
### Output matrix
5959
###
60-
echo "::set-output name=matrix::[]"
61-
echo "::set-output name=has_refs::false"
60+
echo "matrix=[]" >> $GITHUB_OUTPUT
61+
echo "has_refs=false" >> $GITHUB_OUTPUT
6262
echo "matrix=[]"
6363
echo "has_refs=false"
6464
else
@@ -121,7 +121,7 @@ runs:
121121
###
122122
### Set final output for 'matrix'
123123
###
124-
echo "::set-output name=matrix::${JSON}"
124+
echo "matrix=${JSON}" >> $GITHUB_OUTPUT
125125
126126
###
127127
### Set 'has_refs'
@@ -131,7 +131,7 @@ runs:
131131
else
132132
HAS_REFS="true"
133133
fi
134-
echo "::set-output name=has_refs::${HAS_REFS}"
134+
echo "has_refs=${HAS_REFS}" >> $GITHUB_OUTPUT
135135
136136
###
137137
### Output matrix

0 commit comments

Comments
 (0)