fix checktoken

This commit is contained in:
neil committed 2020-08-29 23:19:21 +08:00
1 parent faaa7bfa3a
commit 900eedfc2e
1 file changed
+6 -1
+6 -1
View File
@@ -22,7 +22,12 @@ jobs:
steps:
- name: Set the value
id: step_one
run: [ "$NGROK_TOKEN" ] && echo "::set-output name=hasToken::true" || echo "::set-output name=hasToken::false"
run: |
if [ "$NGROK_TOKEN" ] ; then
echo "::set-output name=hasToken::true"
else
echo "::set-output name=hasToken::false"
fi
- name: Check the value
run: echo ${{ steps.step_one.outputs.hasToken }}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.