简体   繁体   English

Github 工作流不上传神器

[英]Github workflow does not upload artifact

like the title describes, I am facing problems to upload artifacts using GitHub workflows.如标题所述,我在使用 GitHub 工作流程上传工件时遇到问题。

the problem is:问题是:

Warning: No files were found with the provided path: bin.警告:未找到具有提供的路径的文件:bin。 No artifacts will be uploaded.不会上传任何工件。

at first I thought the files were not being created due some error on compile task, so to make sure the files were there I added a ls -al to see the files and they are there, I don't know what I am missing here.起初我以为文件没有被创建是由于编译任务的一些错误,所以为了确保文件在那里我添加了一个 ls -al 来查看文件并且它们在那里,我不知道我在这里遗漏了什么.

the flow: https://github.com/HudsonSchumaker/code-the-classics/runs/5850342583?check_suite_focus=true流程: https://github.com/HudsonSchumaker/code-the-classics/runs/5850342583?check_suite_focus=true

Any ideas?有任何想法吗? Best Regards最好的祝福

You can try to debug actions/upload-artifact - looking at their source code , they have it documented nicely and you should be able to pinpoint the problem.您可以尝试调试actions/upload-artifact - 查看他们的源代码,他们很好地记录了它,您应该能够查明问题所在。

Allow debugging by adding a secret to your repository :通过向您的存储库添加秘密来允许调试:

name: ACTIONS_STEP_DEBUG名称: ACTIONS_STEP_DEBUG

value: true值:

And then run the workflow again然后再次运行工作流

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM