Skip to content

Commit 9ad72dd

Browse files
FIX Don't use deprecated set-output (#54)
1 parent 02842b4 commit 9ad72dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ runs:
8181
fi
8282
fi
8383
echo "FETCH_DEPTH is $FETCH_DEPTH"
84-
echo "::set-output name=fetch-depth::$FETCH_DEPTH"
84+
echo "fetch-depth=$FETCH_DEPTH" >> "$GITHUB_OUTPUT"
8585
8686
- name: Checkout code
8787
uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2.4.2
@@ -142,4 +142,4 @@ runs:
142142
run: |
143143
MATRIX_JSON=$(php ${{ github.action_path }}/action.php)
144144
echo "MATRIX_JSON: $MATRIX_JSON"
145-
echo "::set-output name=matrix::${MATRIX_JSON}"
145+
echo "matrix=${MATRIX_JSON}" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)