-
Notifications
You must be signed in to change notification settings - Fork 20
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
Document how to set codecov token #17
Comments
Am I right in saying that the token should be placed around the top of variables:
CODECOV_TOKEN: abc123-def456 And the token will remain secret provided the GitHub repo is private? |
I think you can also add it through the Azure web interface, it's been a while tho. |
The token is provided to the upload task like: ${{ if ne(variables.CODECOV_TOKEN, '') }}:
env:
CODECOV_TOKEN: $(CODECOV_TOKEN) However, if I just add a secret pipeline variable called env:
CODECOV_TOKEN: $(CODECOV_TOKEN) ...the token is recognised by the Codecov upload script. However, we cannot just remove that line as if no I don't see what the issue is with Do you have any examples of this template being used with a token that you could check? (A few packages seem to be having issues with Azure Pipelines uploading to Codecov, however setting the |
Specifically CODECOV_TOKEN as a secret variable
The text was updated successfully, but these errors were encountered: