简体   繁体   中英

Github workflow does not upload artifact

like the title describes, I am facing problems to upload artifacts using GitHub workflows.

the problem is:

Warning: No files were found with the provided path: 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.

the flow: 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.

Allow debugging by adding a secret to your repository :

name: ACTIONS_STEP_DEBUG

value: true

And then run the workflow again

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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