I am setting publish build artifacts in Azure DevOps but following error occurred.
'D:\a\1\a' is empty. Nothing will be added to build artifact 'drop'.
I am doing this to exchange dynamics 365 solution from one instance to another instance using Azure DevOps.
Following is my YAML document for publish build artifacts.
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.ArtifactStagingDirectory)
artifactName: drop
displayName: 'Publish build artifacts'
Following this link.
I want that publish build artifacts successfully.