GHA: Hacktoberfest CI: Update deprecated 'set-output' command

Closes #10221
This commit is contained in:
andy5995 2023-01-04 00:32:02 -06:00 committed by Daniel Stenberg
parent 602964ec5e
commit 21f5b6bfb7
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -32,8 +32,8 @@ jobs:
- name: Check whether repo participates in Hacktoberfest
run: |
gh config set prompt disabled && echo "::set-output name=label::$(
gh repo view --json repositoryTopics --jq '.repositoryTopics[].name' | grep '^hacktoberfest$')"
gh config set prompt disabled && echo "label=$(
gh repo view --json repositoryTopics --jq '.repositoryTopics[].name' | grep '^hacktoberfest$')" >> $GITHUB_OUTPUT
id: check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}