Skip to content

Commit 967aa19

Browse files
authored
Update moodle-release.yml
set-output is deprecated
1 parent 9603cac commit 967aa19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/moodle-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ jobs:
5555
--data-urlencode "vcstag=${TAGNAME}" \
5656
--data-urlencode "changelogurl=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/commits/${TAGNAME}" \
5757
--data-urlencode "altdownloadurl=${ZIPURL}")
58-
echo "::set-output name=response::${RESPONSE}"
58+
echo "response=${RESPONSE}" >> "$GITHUB_ENV"
5959
6060
- name: Evaluate the response
6161
id: evaluate-response
6262
env:
6363
RESPONSE: ${{ steps.add-version.outputs.response }}
6464
run: |
6565
jq <<< ${RESPONSE}
66-
jq --exit-status ".id" <<< ${RESPONSE} > /dev/null
66+
jq --exit-status ".id" <<< ${RESPONSE} > /dev/null

0 commit comments

Comments
 (0)