Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If defining env variables different to the ones from example it fails when checking default #2

Open
maZahaca opened this issue May 21, 2020 · 0 comments

Comments

@maZahaca
Copy link

Current behavior:

I defined variables CF_TOKEN and CF_ZONE and used them as following:

token: ${{ secrets.CF_TOKEN }}
zone: ${{ secrets.CF_ZONE }}

And because of the default values are expected as specific names it fails with error:

Download action repository 'kriasoft/create-dns-record@v1'
##[error](Line: 22, Col: 14):
##[error](Line: 26, Col: 5): 'default' is already defined
##[error](Line: 22, Col: 14): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.CLOUDFLARE_TOKEN
##[error](Line: 26, Col: 5): 'default' is already defined
##[error]Fail to load /home/runner/work/_actions/kriasoft/create-dns-record/v1/action.yaml

Expected

Any variables can be passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant