Commit 900eedfc authored by neil's avatar neil
Browse files

fix checktoken

parent faaa7bfa
...@@ -22,7 +22,12 @@ jobs: ...@@ -22,7 +22,12 @@ jobs:
steps: steps:
- name: Set the value - name: Set the value
id: step_one 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 - name: Check the value
run: echo ${{ steps.step_one.outputs.hasToken }} run: echo ${{ steps.step_one.outputs.hasToken }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment