I have an action in my CI stage that fails unexpectedly when copying some files from a shared network drive. The weird fact is that I can copy those files to that same drive in later stages of my build configuration.
Below you can see the log of the last two actions:
If Exists [\\SHARED_DRIVE\folder\%BranchName%\%RepoName%\\] The directory '\\SHARED_DRIVE\folder\branch\repo\otherName\' has been checked and found to exist. Copy [\\SHARED_DRIVE\folder\%BranchName%\%RepoName%\] Overwrite existing files: True List each copied item: True Fail if no files are copied: False Copying files in folder '\\SHARED_DRIVE\folder\child_folder1\child_folder2\' matching pattern(s) 'binaries_folder/**.*' to folder '\\SHARED_DRIVE\folder\child_folder1\child_folder2\' Failed to copy file '\\SHARED_DRIVE\folder\child_folder1\child_folder2\binaries_folder\sourcePath.txt'. (32) The process cannot access the file because it is being used by another process: [\\?\UNC\SHARED_DRIVE\folder\child_folder1\child_folder2\binaries_folder\sourcePath.txt]