Closed StanleyGoldman closed 5 years ago
@StanleyGoldman from the looks of it, this is caused by the build version being changed on appveyor. Unfortunately this isn't something we can fix here, as the changed environment variable isn't available until the next line in the appveyor.yml
file.
However, see the Known Issues section of Cake.Codecov
for a workaround.
Hey @AdmiringWorm thanks for getting back to me. Sorry I'm taking so long to reply.
The known issues indicates that I should be restoring APPVEYOR_BUILD_VERSION
to a known value.
But I counter that APPVEYOR_BUILD_VERSION
seems to be correct and matches the value in other builds where codecov.exe is working.
Is there some other environment variable I should be checking?
Working here: https://ci.appveyor.com/project/github-windows/octokit-graphql/build/1.0.682
echo %APPVEYOR_BUILD_VERSION%
1.0.682
Not working here: https://ci.appveyor.com/project/github-windows/octokit-net/build/0.17.2890
Current APPVEYOR_BUILD_VERSION: 0.17.2890
I think I may finally understand
Yep, the point is for the build numbers to match. Thanks.
Yep, the point is for the build numbers to match.
Exactly, if you have suggestion on improving the documentation for the example shown there, then feel free to open a PR to that repo (I know I'm not the best person to explain stuff).
I hope you're able to get it to work, but feel free to contact me on gitter (link in the Readme.md file in the repo, or ask in this or the Cake.Codecov repository).
👋 I'm integrating codecov with for GitHub's Octokit.NET in this pull request octokit.net#1866
I'm having some trouble. Hopefully someone can point me in the right direction..
https://ci.appveyor.com/project/github-windows/octokit-net/build/0.33.0-PullRequest.1866+19.build.2876