为什么我的Github Actions运行失败? Windows复制文件错误

时间:2020-03-11 05:29:09

标签: windows github-actions

我已采取措施将python文件转换为exe。我尝试过更改某些引号,等等,但是没有帮助。 github网址为https://www.base64encode.org/,当它复制一些文件时,出现此错误:

Run copy "./db/*" ./build/exe.win-amd64-3.6/db
  copy "./db/*" ./build/exe.win-amd64-3.6/db
  copy "./db/datasets/*" ./build/exe.win-amd64-3.6/db/datasets
  copy "./db/sessions/*" ./build/exe.win-amd64-3.6/db/sessions
  copy user.txt ./build/exe.win-amd64-3.6
  copy input_data.pkl ./build/exe.win-amd64-3.6  
  shell: C:\Program Files\PowerShell\6\pwsh.EXE -command ". '{0}'"
  env:
    pythonLocation: C:\hostedtoolcache\windows\Python\3.6.8\x64
copy : Container cannot be copied onto existing leaf item.
At D:\a\_temp\2f3cfb20-e08a-486e-83af-4a51745c415b.ps1:2 char:1
+ copy "./db/*" ./build/exe.win-amd64-3.6/db
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidArgument: (D:\a\LooLi\LooLi\db\sessions:String) [Copy-Item], PSArgumentException
+ FullyQualifiedErrorId : CopyContainerItemToLeafError,Microsoft.PowerShell.Commands.CopyItemCommand

##[error]Process completed with exit code 1

0 个答案:

没有答案