GitTools / actions

GitHub Action that installs and uses the GitVersion and GitReleaseManager tools
MIT License
218 stars 63 forks source link

[ISSUE]: Getting "A supported task execution handler was not found." on setup of GitVersion #1231

Open rodeoboy opened 3 weeks ago

rodeoboy commented 3 weeks ago

Prerequisites

GitVersion package

AzureDevops task

What are you seeing?

I am trying to set up gitversion in an ADO Server pipeline. I installed the gittools from the marketplace and I am getting the following error when I run the build.

[error]A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows(X64)'. Contact the task author for more details.

What is expected?

Setup of a version of gitversion that runs on x64

Steps to Reproduce

I have setup git version in my build script as shown below.

jobs:

Output log or link to your CI build (if appropriate).

2024-08-19T20:46:13.9147963Z ##[section]Starting: Install GitVersion
2024-08-19T20:46:13.9500092Z ==============================================================================
2024-08-19T20:46:13.9500331Z Task         : Setup GitVersion Task
2024-08-19T20:46:13.9500411Z Description  : Easy Semantic Versioning (https://semver.org) for projects using Git
2024-08-19T20:46:13.9500588Z Version      : 3.0.0
2024-08-19T20:46:13.9500654Z Author       : GitTools Contributors
2024-08-19T20:46:13.9500733Z Help         : See the [documentation](https://gitversion.net/docs/) for help
2024-08-19T20:46:13.9500839Z ==============================================================================
2024-08-19T20:46:13.9933734Z ##[error]A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows(X64)'. Contact the task author for more details.
2024-08-19T20:46:13.9947583Z ##[section]Finishing: Install GitVersion
dreteddy commented 3 weeks ago

Same issue on self hosted windows agent. Works on self hosted ubuntu agent and MS hosted agents

willibrandon commented 2 weeks ago

I just bumped into this issue myself.