actions: Invalid argument in UseGitVersion VS Task
Hi,
We’re having issues when using the UseGitVersion task on a dotnetcore 3.1 project. Here are the logs :
Starting: UseGitVersion
==============================================================================
Task : GitVersion Task
Description : Easy Semantic Versioning (http://semver.org) for projects using Git
Version : 5.1.2
Author : GitVersion Contributors
Help : See the [documentation](http://gitversion.readthedocs.org/en/latest/) for help
==============================================================================
--------------------------
Installing GitVersion.Tool version 5.1
--------------------------
/opt/hostedtoolcache/dncs/3.1.100/x64/dotnet tool install GitVersion.Tool --tool-path /home/vsts/work/_temp --version 5.1.2
You can invoke the tool using the following command: dotnet-gitversion
Tool 'gitversion.tool' (version '5.1.2') was successfully installed.
Caching tool: GitVersion.Tool 5.1.2 x64
##[error]Error: EINVAL: invalid argument, readlink '/opt/hostedtoolcache/dncs/3.1.100/x64/dotnet'
Finishing: UseGitVersion
And here’s the yaml part of the task :
- task: UseGitVersion@5
inputs:
versionSpec: '5.1'
updateAssemblyInfo: true
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 3
- Comments: 23 (13 by maintainers)
Just tried that by using 5.1.3, but the issue persists
Is there another problem? Haven’t had an issue so far on our local Windows buildservers, but the error above occured on a
Ubuntu-16.04image.