diff --git a/.github/workflows/DNS.yml b/.github/workflows/DNS.yml index 1613e854..a7765034 100644 --- a/.github/workflows/DNS.yml +++ b/.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"