Skip to content
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

add fetching git tags #400

Closed
jannick0 opened this issue Dec 4, 2020 · 1 comment
Closed

add fetching git tags #400

jannick0 opened this issue Dec 4, 2020 · 1 comment

Comments

@jannick0
Copy link

jannick0 commented Dec 4, 2020

It would be helpful if git tags could be added after the check-out to have the relevant information available for composing the version string using the latest tag.

Putting git fetch --prune --unshallow into a step succeeded for one matrix job, failed for another matrix job. I believe this is due to competing processes accessing the repo to be checked out at the same time. This issue might have already been covered by actions/checkout I suspect, hence the idea above.

Many thanks.

@jannick0
Copy link
Author

jannick0 commented Dec 7, 2020

Setting fetch-depth: 0 fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant