Skip to content

'System.ArgumentOutOfRangeException' was thrown. (Parameter 'strategy') Actual value was Inherit #4427

Closed Answered by mrt181
mrt181 asked this question in Q&A
Discussion options

You must be logged in to vote

no need, the problem that causes this is a detached HEAD.
Github actions checks the code out at the tag without creating a branch.

https://github.com/actions/checkout?tab=readme-ov-file

It can be reproduced locally by running

> git tag 0.0.1
> git checkout 0.0.1
> gitversion

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mrt181
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants