-
Notifications
You must be signed in to change notification settings - Fork 652
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
Failure after shallow clone via GitHub actions/checkout@v2 #1993
Comments
This should be fixed by #1966 |
You can test it out by using the artifacts from that pull request in the appveyor artifacts from that PR. |
@StanleyGoldman thanks for the heads up! |
@gitfool from the looks of your build script: https://github.com/gitfool/Cake.Dungeon/blob/master/scripts/version.cake#L6 You aren't calling GitVersion with the buildserver argument, so I don't think that the work @StanleyGoldman is doing will take effect until to call that argument. |
GitVersion keeps failing on Github Actions due to
even after prior fetching all branches and tags. It does work on pull requests without any errors. |
@gep13 I'm looking at this just now and not sure about using |
@gitfool running it twice shouldn't cause any problems. The first execution will cache the asserted version number into the local cache file, and the second execution will simply read from that file. The Cake.Recipe logic could well be something that needs to be looked at again, it has gone through a number of iterations, and perhaps is now wrong. |
@gep13 FTR, that makes no difference and it looks like I still need to avoid a shallow clone. |
See actions/checkout#113. I presume GitVersion can't do anything about this, except maybe improve the error message at non-diagnostic verbosity, although that may be more of a Cake build issue?
The text was updated successfully, but these errors were encountered: