fix checks
This commit is contained in:
parent
506b1b4fda
commit
cceafe50bf
4
.github/workflows/DNS.yml
vendored
4
.github/workflows/DNS.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
- name: Set the value
|
- name: Set the value
|
||||||
id: step_one
|
id: step_one
|
||||||
run: |
|
run: |
|
||||||
if [ "$${{ secrets.TokenName1 }}" != "_" ] ; then
|
if [ "$_${{ secrets.TokenName1}}" != "_" ] ; then
|
||||||
echo "::set-output name=hasToken::true"
|
echo "::set-output name=hasToken::true"
|
||||||
else
|
else
|
||||||
echo "::set-output name=hasToken::false"
|
echo "::set-output name=hasToken::false"
|
||||||
@ -36,7 +36,7 @@ jobs:
|
|||||||
Fail:
|
Fail:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: CheckToken
|
needs: CheckToken
|
||||||
if: "${{needs.CheckToken.outputs.hasToken}} == 'false'"
|
if: "contains(needs.CheckToken.outputs.hasToken, 'false')"
|
||||||
steps:
|
steps:
|
||||||
- name: "Read this: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test"
|
- name: "Read this: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test"
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user