Skip to content

Commit

Permalink
Fix set-output deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Oct 27, 2022
1 parent a873aad commit 34ebdad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ runs:
###
### Output matrix
###
echo "::set-output name=matrix::[]"
echo "::set-output name=has_refs::false"
echo "matrix=[]" >> $GITHUB_OUTPUT
echo "has_refs=false" >> $GITHUB_OUTPUT
echo "matrix=[]"
echo "has_refs=false"
else
Expand Down Expand Up @@ -121,7 +121,7 @@ runs:
###
### Set final output for 'matrix'
###
echo "::set-output name=matrix::${JSON}"
echo "matrix=${JSON}" >> $GITHUB_OUTPUT
###
### Set 'has_refs'
Expand All @@ -131,7 +131,7 @@ runs:
else
HAS_REFS="true"
fi
echo "::set-output name=has_refs::${HAS_REFS}"
echo "has_refs=${HAS_REFS}" >> $GITHUB_OUTPUT
###
### Output matrix
Expand Down

0 comments on commit 34ebdad

Please sign in to comment.