Browse Source

fix for missing env

pull/3175/head
neil 5 years ago
parent
commit
c928f825d3
  1. 6
      .github/workflows/DNS.yml

6
.github/workflows/DNS.yml

@ -20,13 +20,13 @@ jobs:
outputs:
hasToken: ${{ steps.step_one.outputs.hasToken }}
env:
${{ secrets.TokenName1 }} : ${{ secrets.TokenValue1 }}
"${{ secrets.TokenName3 }}" : ${{ secrets.TokenValue1 }}
_${{ secrets.TokenName1 }} : ${{ secrets.TokenValue1 }}
_${{ secrets.TokenName3 }} : ${{ secrets.TokenValue1 }}
steps:
- name: Set the value
id: step_one
run: |
if [ "$${{ secrets.TokenName1 }}" ] ; then
if [ "$${{ secrets.TokenName1 }}" != "_" ] ; then
echo "::set-output name=hasToken::true"
else
echo "::set-output name=hasToken::false"

Loading…
Cancel
Save