Unrecognized named-value: 'secrets'. Located at position 1 within expression:

I have published an action in Market place. When I tried installing it for a repository , it says the secrets are not recognized.  This is how I have used the secrets in the app. 

env:
ACCESS_KEY_ID: ${{secrets.S3_ACCESS_KEY_ID}}
SECRET: ${{secrets.S3_ACCESS_SECRET}}
BUCKET: ${{secrets.S3_BUCKET}}

Thank you for posting this issue in Github Community Forum.

Which step did you get this error ? In set up job step? It would be better if you can provide your workflow yml and logs here.

Do you add ${{secrets.S3_ACCESS_KEY_ID}} or others to your action.yml like the image below?

For us to investigate further, can you share your action’s name or marketplace url here?

1 Like