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

[Error] Step task reference is invalid #22

Open
PiotrWachulec opened this issue Jan 16, 2022 · 4 comments
Open

[Error] Step task reference is invalid #22

PiotrWachulec opened this issue Jan 16, 2022 · 4 comments

Comments

@PiotrWachulec
Copy link

Hey!

I'm trying to use the latest version of the task, but I'm getting the below error:

Step task reference is invalid. The task name HugoTask is ambiguous. Specify one of the following identifiers to resolve the ambiguity: giuliovdev.hugo-extension.hugo-build-task.HugoTask, giuliovdev.hugo-extension.hugo-build-task-v2.HugoTask

Zrzut ekranu 2022-01-16 o 23 18 49

- task: HugoTask@2
        inputs:
          source: './'
          destination: '$(Build.ArtifactStagingDirectory)'
          extendedVersion: true
          baseURL: ...

Could you help me with that? I tried to run that task on Ubuntu-latest and VS2017-Win2016 machines. Many thanks in advance!

@MatthiasKammerlohr
Copy link

same here :(

@MatthiasKammerlohr
Copy link

After some research in azure devops forums i found out you can reference the task by ID:

- task: "5F838DA4-D713-497A-BD7A-4987F25E3C2F@1"
- task: "528c73d9-c552-4e2d-a26f-fb5c91c32554@2"

Hope this helps!

@PiotrWachulec
Copy link
Author

Nice to hear, that tasks can be referenced by ID, a temporary workaround for sure... But I believe that a permanent solution will be better :) Anyway, thanks @MatthiasKammerlohr!

@giuliov
Copy link
Owner

giuliov commented Jan 18, 2022

Sorry, I clearly missed some test case. I have another update in queue and hopefully can release it soon.

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

3 participants