ci: update GitHub Actions to avoid set-output deprecation

This commit is contained in:
TAKAHASHI Shuuji
2022-12-28 14:35:31 +00:00
parent ab1e49567e
commit ef2e8dc104
+2 -2
View File
@@ -23,9 +23,9 @@ jobs:
- id: setup
run: |
if ! [[ -z "${{ secrets.GO_TOKEN }}" ]]; then
echo ::set-output name=has_token::true
echo has_token=true >> $GITHUB_OUTPUT
else
echo ::set-output name=has_token::false
echo has_token=false >> $GITHUB_OUTPUT
fi
- run: |
jq -nc '{"state": "pending", "context": "go tests"}' | \